[Groonga-commit] groonga/groonga at 36a38d8 [master] http: remove a needless validation

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 26 20:44:51 JST 2015


Kouhei Sutou	2015-01-26 20:44:51 +0900 (Mon, 26 Jan 2015)

  New Revision: 36a38d8cd9d1f6e9b0873edc53e2f8836c222d70
  https://github.com/groonga/groonga/commit/36a38d8cd9d1f6e9b0873edc53e2f8836c222d70

  Message:
    http: remove a needless validation
    
    Body may not be sent even if 100-CONTINUE isn't waited.

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+0 -4)
===================================================================
--- src/groonga.c    2015-01-26 20:43:32 +0900 (94d0d93)
+++ src/groonga.c    2015-01-26 20:44:51 +0900 (b03e70e)
@@ -1136,10 +1136,6 @@ do_htreq_post_parse_header(grn_ctx *ctx,
     return GRN_FALSE;
   }
 
-  if (!header->have_100_continue && current == end) {
-    return GRN_FALSE;
-  }
-
   if (current == end) {
     header->body_start = NULL;
   } else {
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index