--------------------- PatchSet 2889 Date: 2001/08/28 19:48:38 Author: adri Branch: newhttp Tag: (none) Log: Add more comments showing what I'm going to do add a "badversion" error that will come into play soon Members: src/modules/new_http_client/http_request.c:1.1.2.7->1.1.2.8 src/modules/new_http_client/http_request.h:1.1.2.2->1.1.2.3 Index: squid/src/modules/new_http_client/http_request.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/modules/new_http_client/Attic/http_request.c,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -u -r1.1.2.7 -r1.1.2.8 --- squid/src/modules/new_http_client/http_request.c 28 Aug 2001 16:21:14 -0000 1.1.2.7 +++ squid/src/modules/new_http_client/http_request.c 28 Aug 2001 19:48:38 -0000 1.1.2.8 @@ -290,6 +290,12 @@ /* At this stage we've got a request but we don't know if its valid */ + /* Turn the offsets into refstrings */ + + /* Attempt to parse the version string */ + + /* See if we know which method this is */ + /* For now, succeed */ return HTTP_REQUEST_OK; } Index: squid/src/modules/new_http_client/http_request.h =================================================================== RCS file: /cvsroot/squid-sf//squid/src/modules/new_http_client/Attic/http_request.h,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid/src/modules/new_http_client/http_request.h 22 Aug 2001 18:18:40 -0000 1.1.2.2 +++ squid/src/modules/new_http_client/http_request.h 28 Aug 2001 19:48:38 -0000 1.1.2.3 @@ -5,6 +5,7 @@ typedef enum { HTTP_REQUEST_PARTIAL, HTTP_REQUEST_ERROR, + HTTP_REQUEST_BADVERSION, HTTP_REQUEST_TOOBIG, HTTP_REQUEST_OK } http_client_request_status_t;