Skip to content

Commit

Permalink
lib: monkey: sync dev changes
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Feb 22, 2018
1 parent 8115d0a commit d42f80a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/monkey/mk_server/mk_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,9 @@ int mk_http_init(struct mk_http_session *cs, struct mk_http_request *sr,
if (sr->_content_length.data &&
(sr->method != MK_METHOD_POST &&
sr->method != MK_METHOD_PUT)) {
return mk_http_error(MK_CLIENT_BAD_REQUEST, cs, sr, server);
//FIXME return mk_http_error(MK_CLIENT_BAD_REQUEST, cs, sr, server);
sr->_content_length.data = NULL;
sr->_content_length.len = 0;
}


Expand Down

0 comments on commit d42f80a

Please sign in to comment.