comment out fixme

This commit is contained in:
Christian Grothoff 2020-01-17 19:03:27 +01:00
parent 33d71e7280
commit bf2cdc7ea2
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1261,12 +1261,12 @@ setup_general_response_headers (const struct TEH_KS_StateHandle *key_state,
m = GNUNET_TIME_relative_to_absolute (TEH_max_keys_caching); m = GNUNET_TIME_relative_to_absolute (TEH_max_keys_caching);
m = GNUNET_TIME_absolute_min (m, m = GNUNET_TIME_absolute_min (m,
key_state->next_reload); key_state->next_reload);
m = GNUNET_TIME_UNIT_FOREVER_ABS;
get_date_string (m,
dat);
// FIXME: setting 'm' to FOREVER here exposes // FIXME: setting 'm' to FOREVER here exposes
// a crash-bug in lib/ where we access /keys // a crash-bug in lib/ where we access /keys
// data after it was already free'd! // data after it was already free'd!
// m = GNUNET_TIME_UNIT_FOREVER_ABS;
get_date_string (m,
dat);
GNUNET_break (MHD_YES == GNUNET_break (MHD_YES ==
MHD_add_response_header (response, MHD_add_response_header (response,
MHD_HTTP_HEADER_EXPIRES, MHD_HTTP_HEADER_EXPIRES,