These changesets represents the changes on the squid/s27_adri development branch of Squid. If there is any questions please contact squid-dev@squid-cache.org.
Date | Author | Size | Description |
2008/01/30 16:18:48 | adri | +20 -8 | Correct off-by-one when assembling request header. |
2008/01/28 13:52:25 | adri | +13 -27 | Restore the swapout code; use a temporary copy again. |
2008/01/27 07:46:09 | adri | +8 -2 | Don't go through the userhash/sourcehash logic if we don't need to. |
2008/01/26 12:03:29 | adri | +64 -470 | Shuffle out the rest of the core memory stuff into libmem/ rather than src/ . |
2008/01/25 09:47:11 | adri | +17 -17 | Convert the authentication code to the new string code. |
2008/01/25 09:40:47 | adri | +29 -18 | Use a temporary C string to make the digest code work (for now). |
2008/01/25 08:34:11 | adri | +26 -2 | Add in a c string version of the http header deletion function, used |
2008/01/25 04:15:39 | adri | +3 -2 | Begin fixing the digest authentication code. |
2008/01/23 14:47:49 | adri | +25 -16 | Make NTLM proxy authentication succeed. |
2008/01/21 12:53:40 | adri | +4 -83 | Trim out unused code. |
2008/01/21 03:50:23 | adri | +66 -15 | Implement a static String dictionary to overcome my (current) lack of static String buffers. |
2008/01/21 03:36:43 | adri | +8 -0 | Add in more todo items. |
2008/01/21 03:36:14 | adri | +41 -27 | Re-implement httpHeaderHasConnDir() to not use a temporary string list. |
2008/01/20 11:22:02 | adri | +6 -4 | Default to 16k for the client socket for now; this saves on a reallocation. |
2008/01/20 10:26:03 | adri | +23 -15 | Use the buf_t buffer in the client-side code to parse headers into reference-counted string buffers. |
2008/01/20 01:22:28 | adri | +15 -11 | Include a starting offset in the http message parsing code. |
2008/01/20 00:39:49 | adri | +20 -15 | call httpMsgBufDone() when the request message has been used. |
2008/01/19 16:35:28 | adri | +55 -51 | Convert the client-side connection buffer stuff to use buf_t's. |
2008/01/15 14:36:44 | adri | +19 -11 | Add in the whitespace trim for now; shuffle the sslStart() to take an optional client data buffer. |
2008/01/15 13:50:05 | adri | +4 -7 | The last commit was wrong; it didn't take into account the skipped bytes when returning hdr_sz. |
2008/01/15 13:04:32 | adri | +16 -14 | Prepare clientTryParseRequest() to not touch the conn->in buffer directly. |
2008/01/15 11:40:22 | adri | +9 -9 | Upgrade valgrind code. |
2008/01/14 15:08:36 | adri | +0 -5 | Get rid of the buf_consume() prototype, I don't really like it atm. |
2008/01/14 15:02:50 | adri | +14 -1 | Make the string buffer regions immutable. Getting this stuff right is |
2008/01/14 08:38:09 | adri | +11 -5 | Refactor out the whitespace trimming code. |
2008/01/14 08:30:22 | adri | +20 -20 | Remove direct access to conn.in variables; use methods instead. |
2008/01/14 06:20:02 | adri | +38 -10 | Remove more direct references to conn->in members. |
2008/01/14 05:47:29 | adri | +24 -14 | Break out the conn buffer filling into a seperate function. |
2008/01/14 04:51:33 | adri | +72 -25 | Break out a large part of the conn->in buffer management. |
2008/01/13 15:44:05 | adri | +19 -12 | Shuffle the buffer manipulation out of clientTryParseRequest() and into clientReadRequest(). |
2008/01/13 15:42:20 | adri | +2 -2 | Only grow by 8k for now; this stops the realloc calls from src/http.c |
2008/01/13 14:47:00 | adri | +12 -5 | Move the clientCheckFollowXForwardedFor() call outside of clientTryParseRequest(). |
2008/01/13 14:15:20 | adri | +12 -9 | Shuffle whitespace trimming out of TryParseRequest(). |
2008/01/13 12:24:37 | adri | +29 -28 | Shuffle the parser code in TryParseRequest() around. |
2008/01/13 12:15:43 | adri | +19 -30 | Revert changeset 10386 - this breaks SSL tunneling as the data needs to be |
2008/01/09 13:53:32 | adri | +30 -19 | Move the buffer content relocation code out into clientReadRequest(). |
2008/01/09 09:52:43 | adri | +6 -4 | isspace() includes '\r' and '\n', which isn't good when we're intending |
2008/01/09 08:44:49 | adri | +2 -5 | Remove the NUL-termination of the incoming client-side buffer. |
2008/01/06 11:38:29 | adri | +7 -1 | Enable the string-references-buffer stuff. |
2008/01/06 10:25:07 | adri | +3 -1 | .. and thats where my parser code was busted. Thanks! |
2008/01/06 10:13:39 | adri | +7 -5 | Fix the code to (almost) do what the existing reply parser does. |
2008/01/06 09:56:00 | adri | +94 -64 | ... and flesh out the bare minimum for the new parser to function. |
2008/01/06 09:53:27 | adri | +1 -0 | Make cossdump compile (again!). |
2008/01/06 09:38:47 | adri | +2 -2 | Add checking. |
2008/01/06 09:38:07 | adri | +13 -1 | Add a function to create a string from a given buf_t + offset + len. |
2008/01/06 09:19:51 | adri | +629 -356 | Begin the long road to a replacement buf_t based header parser. |
2008/01/05 11:46:56 | adri | +167 -120 | Start breaking out the stuff httpHeaderParse() out into libhttp/. |
2008/01/05 11:45:17 | adri | +9 -5 | Start fleshing out the "offset" for strings in a buffer. |
2008/01/05 10:24:22 | adri | +11 -109 | Fix merging issues. disk clients are still busted. |
2008/01/03 16:38:01 | adri | +11 -13 | Convert the rest of the (applicable) storeAppend() calls to storeAppendRef(). |
2008/01/03 16:38:01 | adri | +11 -13 | Convert the rest of the (applicable) storeAppend() calls to storeAppendRef(). |
2008/01/03 15:50:17 | adri | +14 -4 | Fix buf_t statistics; generating the cachemgr pages now uses buf_t's; so displayign the active ones requires |
2008/01/03 13:26:45 | adri | +15 -24 | Remove buf/size and reference the buf directly; this is the last step before moving to buffer referencing. |
2008/01/03 09:32:20 | adri | +21 -19 | Move around the buffer creation and memnode creation code so stmemAppendRef() is called during stmemAppend(). |
2008/01/02 17:31:25 | adri | +6 -0 | More TODO stuff. |
2008/01/02 17:29:31 | adri | +58 -54 | The first, very naive, implementation of the bufregion stuff in stmem. |
2008/01/02 17:13:59 | adri | +18 -4 | Fix off-by-one size comparisons; add some #define's to help check stuff. |
2007/12/29 14:22:53 | adri | +18 -5 | Add more items to my TODO list. |
2007/12/29 13:39:42 | adri | +12 -7 | convert httpProcessReplyHeaderBlock() to take a buf_t now intead of a (const char *, len). |
2007/12/29 13:36:05 | adri | +13 -6 | Convert httpAppendBody() to take a buf_t rather than (const char *, len). |
2007/12/29 10:57:49 | adri | +33 -25 | Convert http.c to use a buf_t for its incoming buffer rather than the MemBuf. |
2007/12/29 09:08:23 | adri | +19 -5 | change httpAppendBody() to take (buf, len), offset |
2007/12/29 07:21:43 | adri | +45 -4 | Begin reference buffer magic. Nothing useful to see here. |
2007/12/29 05:36:13 | adri | +28 -0 | More things to do .. |
2007/12/28 08:03:34 | adri | +32 -71 | Modify stmem to actually use buf_t's as the underlying buffer mechanism. |
2007/12/28 07:52:30 | adri | +17 -17 | A couple of tidyups. peer_digest.c: fix; store_client.c: don't allow storeClientCopy() calls. |
2007/12/28 07:50:51 | adri | +17 -1 | Add in cachemgr page to just dump the location of all buffers and (for now) who created it. |
2007/12/28 07:50:21 | adri | +54 -17 | Include a whole swath of string/buffer debugging magic so I can figure out where all the string/buffer allocations are c |
2007/12/28 06:50:38 | adri | +3 -3 | Fix random out-of-bounds accesses. Thanks valgrind. |
2007/12/28 06:46:54 | adri | +3 -1 | Lock the httpState so its not freed from underneath us. |
2007/12/28 06:22:18 | adri | +2 -2 | httpState could be invalid here.. |
2007/12/28 04:05:37 | adri | +54 -37 | Flesh out a couple of macros to access the memnode references. |
2007/12/28 02:23:59 | adri | +10 -5 | Change the header parsing code to take (buf, len) , parse_start. |
2007/12/27 14:25:57 | adri | +4 -2 | Fix EOF condition handling. |
2007/12/27 13:47:06 | adri | +7 -14 | remove stmemNodeGet(); that was a horrible abuse of FREE *. |
2007/12/27 13:39:08 | adri | +13 -5 | Restore the buffer / memnode separation; preparation for the buf_t use. |
2007/12/27 13:23:57 | adri | +3 -2 | Don't use stmemNodeGet() here; its the wrong thing. |
2007/12/27 12:59:08 | adri | +17 -0 | A couple new buffer functions, useful later on. |
2007/12/27 10:04:47 | adri | +15 -7 | Add a "beginning" pointer so we can do things like skip the whitespace |
2007/12/27 05:12:20 | adri | +8 -4 | Fix memBufGrow() to be more accepting; and don't deallocate the membuf if we're going to reuse it straight away (in http |
2007/12/27 05:01:45 | adri | +52 -43 | Use memBufFill() to read into the MemBuf; use httpState.reply_hdr now as an incoming socket buffer. |
2007/12/26 16:02:50 | adri | +18 -2 | Add a simple function to populate a membuf from a filedescriptor |
2007/12/24 14:11:52 | adri | +78 -1 | Implement some basic buffer region referencing. This stuff is (currently) |
2007/12/23 17:17:00 | adri | +4 -1 | Makefile. |
2007/12/23 16:58:56 | adri | +47 -4 | Reimplement xitoa() to not use sprintf(). This implementation handles negative numbers. |
2007/12/22 15:11:32 | adri | +1 -2 | Erk; reverse merging issue. |
2007/12/22 14:55:17 | adri | +10 -3 | .. And commit the strStrOffset() call. |
2007/12/22 14:45:21 | adri | +4 -5 | Finalise this routine. |
2007/12/22 14:38:58 | adri | +7 -6 | Fix merging issues. |
2007/12/20 10:43:11 | adri | +9 -9 | Check for pointer being != NULL before calling strIs(Not)Null() |
2007/12/20 10:41:33 | adri | +2 -2 | Put this debug back. |
2007/12/20 10:37:04 | adri | +6 -0 | note my acl hack |
2007/12/20 10:35:23 | adri | +134 -88 | An enormous patch to remove httpHeaderGetStr(); 2/2. |
2007/12/20 10:32:38 | adri | +4 -5 | Fix a bug in the buffer size calculation, simplify the code somewhat. |
2007/12/20 10:32:04 | adri | +2 -0 | A simple way to check a single character against a map. |
2007/12/20 03:22:35 | adri | +117 -97 | httpHeaderGetStr() purges - replace it with httpHeaderGetString() calls. |
2007/12/19 16:14:31 | adri | +3 -2 | use valgrind to find and identify some messed up array checks. |
2007/12/19 11:51:36 | adri | +49 -0 | Flesh out some more basic string module checkin. |
2007/12/19 07:56:22 | adri | +198 -111 | Rewrite a number of String operators to not require NUL-terminted strings; stop NUL-terminting |
2007/12/19 05:51:49 | adri | +77 -31 | log_quote() now takes a length parameter; convert the rest of the strBuf() calls in access_log |
2007/12/19 05:47:04 | adri | +6 -17 | Stop using string pools for now. This simplifies the code a little and the pools won't |
2007/12/19 04:00:52 | adri | +32 -17 | Use temporary C strings in non-critical code to get around having to convert the hash library |
2007/12/19 03:58:29 | adri | +15 -17 | Add a flag to buf_append() to NUL-terminate buffers if required. |
2007/12/18 14:28:09 | adri | +4 -0 | Document stuff to do. |
2007/12/18 14:27:03 | adri | +22 -11 | Use a temporary buffer when parsing the ranges; all this code needs to be reworked to |
2007/12/18 12:10:29 | adri | +142 -89 | String-ify parts of the mime.c code; eliminate some strBuf()'s in ftp.code with the new mime.c changes and strSubStr(). |
2007/12/18 11:59:54 | adri | +29 -6 | Add a sub-string string generator. Useful for replacing strBuf() calls in ftp.c. |
2007/12/17 16:40:05 | adri | +17 -5 | Fix the busted stringAppend() code, argh! |
2007/12/17 16:37:13 | adri | +55 -2 | Add in a test case for strCat(). This exposed a bug! |
2007/12/17 08:17:46 | adri | +330 -155 | Begin "libhttp" with the String List stuff (which doesn't strictly belong in here!) |
2007/12/17 08:14:03 | adri | +36 -19 | Un-inline a couple of functions for now - easier to debug. |
2007/12/16 16:14:22 | adri | +97 -36 | more groundwork to ditch String-based NUL terminated strings. |
2007/12/16 15:26:36 | adri | +5 -5 | Eliminate strBuf() acll. Replace with iterator-type |
2007/12/16 14:52:31 | adri | +10 -9 | Phase 1 of removing this strBuf() - push it as close to the routine doing the work |
2007/12/16 14:25:57 | adri | +43 -7 | Remove strBuf() calls in parsing some header values. |
2007/12/16 13:33:27 | adri | +2 -2 | strBuf() -> strBuf2() |
2007/12/16 13:17:44 | adri | +13 -6 | strBuf() -> strBuf2() in the http start routine; comment on converting storeUrl() to return a String and therefore simpl |
2007/12/16 02:28:29 | adri | +20 -17 | strBuf() -> strBuf2() |
2007/12/15 12:07:43 | adri | +24 -19 | strBuf() -> strBuf2() conversions. |
2007/12/15 11:17:04 | adri | +6 -4 | strBuf() -> strBuf2(). |
2007/12/15 11:09:20 | adri | +34 -32 | * More packing tape to propagate string lengths to library functions. |
2007/12/15 10:43:26 | adri | +19 -11 | Extend another library function to take a length and not expect a NUL-terminated |
2007/12/15 06:08:25 | adri | +5 -3 | strBuf() -> strBuf2() |
2007/12/15 05:17:57 | adri | +32 -31 | html_quote() now takes a len parameter and doesn't expect a NUL terminated string; |
2007/12/14 13:07:10 | adri | +74 -70 | strBuf() -> strBuf2() - pass a length to urlParse() and to rfc1738_escape_str(). |
2007/12/14 07:36:15 | adri | +3 -1 | Allow null strings to be stringDup()'ed to other null strings. |
2007/12/14 07:09:37 | adri | +27 -14 | convert the accessLog.http.content_type to be a String; saving a couple of strBuf()'s |
2007/12/14 06:46:33 | adri | +3 -2 | Add strCStr(const char *, String) to do strstr-type things. |
2007/12/14 06:30:49 | adri | +10 -3 | use a temporary NUL-termed buffer in header matching regex ACL code - the underlying buffer isn't NUL terminated anymore |
2007/12/14 06:11:26 | adri | +146 -123 | Rework the Vary code to use String's to store the vary information rather than const char *'s |
2007/12/14 02:49:42 | adri | +26 -13 | Add httpHeaderGetString() to return a String *; use this in httpHeaderGetStr(); use this to fetch String references in t |
2007/12/14 02:48:36 | adri | +4 -3 | strBuf() -> strBuf2() |
2007/12/13 14:17:52 | adri | +4 -3 | strBuf() -> strBuf2() in errorpage cod.e |
2007/12/13 14:01:46 | adri | +7 -7 | strBuf() -> strBuf2() in the gopher code. Untested. |
2007/12/13 13:38:37 | adri | +21 -20 | strBuf() -> strBuf2() changes. |
2007/12/13 13:10:33 | adri | +14 -9 | strBuf() -> strBuf2() when looking up entries in a string list. |
2007/12/13 12:19:22 | adri | +3 -0 | Another TODO entry (for StringMap changes.) |
2007/12/13 12:18:22 | adri | +133 -10 | Implement a "Map" which gives an O(1) lookup for character type matches; use this for a "whitespace" check for String. |
2007/12/13 11:23:06 | adri | +2 -2 | Definition typo. |
2007/12/13 10:56:38 | adri | +4 -3 | Fix bad EOF checking in my storeClientRef() migration (this belongs in store_work branch though!) |
2007/12/13 00:42:51 | adri | +28 -14 | strBuf() -> strBuf2(); reorganise dump_acl_access() to support explicit string lengths. |
2007/12/12 16:18:52 | adri | +36 -26 | implement strIs(Not)Null(String) macros; use these in place of if (strBuf(String)) checks. |
2007/12/12 15:29:17 | adri | +9 -7 | add strCatStr(); convert the strCat(String, strBuf(String)) uses to use it. |
2007/12/12 15:08:51 | adri | +5 -4 | add strCmpStr() to compare two Strings; use it in the right places. |
2007/12/12 14:51:57 | adri | +27 -22 | strListAdd() - convert to take a buf + len, rather than just a buf. |
2007/12/12 11:48:55 | adri | +7 -7 | internalStaticCheck(const char *) -> (String); remove strBuf() call. |
2007/12/12 11:43:49 | adri | +7 -3 | strBuf() -> strBuf2(); put a note about this code. |
2007/12/12 10:30:37 | adri | +8 -9 | strBuf() -> strBuf2() (97 to go now!) |
2007/12/12 10:18:27 | adri | +3 -3 | strBuf() -> strLen2() + strBuf2() in the request packer. (101 to go!) |
2007/12/12 10:15:34 | adri | +2 -2 | strBuf() -> no strBuf()! (use strNCaseCmp() direct.) |
2007/12/12 10:14:22 | adri | +42 -44 | strBuf() -> strBuf2() where its easily done (103 to go!) |
2007/12/12 10:02:26 | adri | +3 -3 | strBuf() -> strBuf2() (116!) |
2007/12/12 10:00:21 | adri | +5 -6 | strBuf() -> strBuf2(); use strCmp() on Strings. (118 to go!) |
2007/12/12 09:52:09 | adri | +32 -5 | strBuf() -> strBuf2(); comment in ADRIAN_TODO the hack performed so it can be tidied up later. |
2007/12/12 09:37:53 | adri | +2 -2 | strBuf() -> strBuf2(); 121 of these things to go! |
2007/12/12 09:34:28 | adri | +3 -3 | strBuf() -> strBuf2() use. |
2007/12/12 09:07:52 | adri | +9 -7 | Remove a strBuf() in the header code, add strCaseCmpStr() to compare two strings |
2007/12/12 08:59:27 | adri | +6 -6 | Modify the packer calls to take a length and (maybe) avoid an internal strlen(). |
2007/12/12 08:04:09 | adri | +17 -8 | Add httpHeaderPutString() - takes a String rather than const char *; migrate all |
2007/12/11 16:39:32 | adri | +10 -5 | Slighty tidy up a strBuf() use; convert to strBuf2(); make a note to revisit this later. |
2007/12/10 19:13:05 | adri | +16 -15 | More conversions from strBuf() to a combination of %.*s, strLen2() and strBuf2(). |
2007/12/10 18:59:38 | adri | +25 -25 | Convert over debug() calls involving strBuf() to use the magic |
2007/12/10 18:48:45 | adri | +1 -1 | inline. |
2007/12/10 08:56:50 | adri | +43 -24 | Part of the "make Strings not require terminating-NULs" work. |
2007/12/09 10:02:02 | adri | +79 -3 | This is a (hopefully!) temporary thing to use to test out alternatives to |
2007/12/09 04:55:21 | adri | +50 -5 | add in some basic statistics so I can gauge how effective this |
2007/12/06 08:10:26 | adri | +179 -101 | * Move the string-related stuff out of src/mem.c and into libmem/memstr.[ch] |
2007/12/06 07:37:30 | adri | +27 -5 | * Shuffle around the initialisation order so that mempool'ed things |
2007/12/06 06:34:37 | adri | +1003 -438 | Bring Alex's MemPools code out of src/ and into libmem/. |
2007/12/06 06:28:33 | adri | +74 -2 | * Bring over the valgrind debugging stuff, untested. A later commit will |
2007/12/06 06:25:37 | adri | +4 -2 | strSet() shoudl take an offset and not a pointer. |
2007/12/05 05:35:29 | adri | +70 -33 | Convert the String type to use a referenced buffer (buf_t) rather than |
2007/12/04 21:56:04 | adri | +87 -20 | A few changes in preparation for ref-counted copy-on-modification Strings. |
2007/12/03 08:54:28 | adri | +15 -5 | A precursor to playing with ref-counted underlying string buffers |
2007/12/03 07:59:25 | adri | +177 -117 | Shuffle the String code out of the src tree and into the libbuf tree. |
2007/12/03 07:56:06 | adri | +106 -201 | Move the syslog name -> number mapping into a single routine, removing |
2007/12/02 09:35:49 | adri | +17 -464 | .. I committed the wrong Makefile. |
2007/12/02 09:34:13 | adri | +1149 -5 | Bring in my buffer library code. |
2007/12/02 06:46:41 | adri | +329 -238 | Shift out more of the debugging code into the standalone library. |
2007/12/02 02:01:33 | adri | +446 -248 | Begin shuffling code which may want to be: |