diff options
Diffstat (limited to 'src/mhd/mhd_parsing.c')
-rw-r--r-- | src/mhd/mhd_parsing.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mhd/mhd_parsing.c b/src/mhd/mhd_parsing.c index 9e3cb5714..b1f8417e4 100644 --- a/src/mhd/mhd_parsing.c +++ b/src/mhd/mhd_parsing.c @@ -365,6 +365,9 @@ TALER_MHD_check_content_length_ (struct MHD_Connection *connection, MHD_HTTP_HEADER_CONTENT_LENGTH); if (NULL == cl) { + return GNUNET_OK; +#if 0 + /* wallet currently doesn't always send content-length! */ GNUNET_break_op (0); return (MHD_YES == TALER_MHD_reply_with_error (connection, @@ -373,6 +376,7 @@ TALER_MHD_check_content_length_ (struct MHD_Connection *connection, MHD_HTTP_HEADER_CONTENT_LENGTH)) ? GNUNET_NO : GNUNET_SYSERR; +#endif } if (1 != sscanf (cl, "%llu%c", |