$ ls install* libghttp-bin.tgz uninstall* libghttp-axe-patch sgwb-bin.tgz $ su $ password: rootme (表示されません) # ./install |
$ su $ password: rootme (表示されません) # tar xvzfp libghttp-bin.tgz -C /usr/sg # exit $ |
$ su $ password: rootme (表示されません) # tar xvzfp sgwb-bin.tgz -C /usr/sg # exit $ |
$ su $ password: rootme (表示されません) # ./uninstall |
パッチ |
---|
*** http_resp.c- Tue Jan 23 09:32:15 2001 --- http_resp.c Wed Jan 9 15:17:05 2002 *************** *** 19,24 **** --- 19,26 ---- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + #define AXE /* 2001/Dec/25 */ + #include <stdlib.h> #include <string.h> #include <ctype.h> *************** *** 399,404 **** --- 401,417 ---- l_connection = http_hdr_get_value(a_resp->headers, http_hdr_Connection); + #ifdef AXE + if (l_content_length) + { + if (l_transfer_encoding != NULL && + !strcasecmp(l_transfer_encoding, "chunked")) + { + l_content_length = NULL; + } + } + #endif /* AXE */ + /* if there's a content length, do your stuff */ if (l_content_length && (a_req->type != http_req_type_head)) { |