summaryrefslogtreecommitdiffstats
path: root/server/util_cookies.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary apr_table_do() function castsJacob Champion2016-11-101-3/+3
| | | | | | | | | | | | | | | | Function casts can cause hard-to-debug corruption issues if a declaration is accidentally changed to be incompatible. Luckily, most of the function casts for apr_table_do() calls are unnecessary. Remove them, and adjust the signatures for helpers that weren't taking void* as the first argument. The remaining helper that requires a cast is http_filter.c's form_header_field(), which is probably where many of these casts were copy-pasted from. I have left it as-is: it has other direct callers besides apr_table_do(), and it's already documented with warnings not to change the function signature. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1769192 13f79535-47bb-0310-9956-ffa450edef68
* Clean up size_t abuse, part 2. ap_malloc/calloc/realloc are explicitlyWilliam A. Rowe Jr2012-01-061-1/+1
| | | | | | | | | excluded from this cleanup as they must be signature identical to the clib functions, and although the definition of size_t has been flakey, the definition of those functions appears to be generally clean since ANSI C. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228323 13f79535-47bb-0310-9956-ffa450edef68
* Add lots of unique tags to error log messagesStefan Fritsch2011-12-031-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
* Introduce ap_(get|set)_core_module_config() functions/macros and use themStefan Fritsch2011-06-061-1/+4
| | | | | | | | | | | | everywhere. We know that the core module has module_index 0. Therefore we can save some pointer operations in ap_get_module_config(cv, &core_module) and ap_set_module_config(cv, &core_module, val). As these are called rather often, this may actually have some (small) measurable effect. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132781 13f79535-47bb-0310-9956-ffa450edef68
* remove more useless use of strlenStefan Fritsch2010-08-041-8/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982046 13f79535-47bb-0310-9956-ffa450edef68
* Added http_config.h to make APLOG_USE_MODULE macro visible.Guenter Knauf2010-07-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965325 13f79535-47bb-0310-9956-ffa450edef68
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-061-0/+2
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* Fix string constness to get rid of gcc compiler warnings by -Wwrite-strings.Takashi Sato2009-12-291-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894368 13f79535-47bb-0310-9956-ffa450edef68
* mod_session_cookie, mod_session_dbd: Make sure cookies are set bothGraham Leggett2008-08-301-10/+42
| | | | | | | | within the output headers and error output headers, so that the session is maintained across redirects. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@690501 13f79535-47bb-0310-9956-ffa450edef68
* mod_session_cookie: Make sure that cookie attributes are correctlyGraham Leggett2008-08-291-4/+4
| | | | | | | | included in the blank cookie when cookies are removed. This fixes an inability to log out when using mod_auth_form. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@690400 13f79535-47bb-0310-9956-ffa450edef68
* * server/util_cookies.c (ap_cookie_write2): Add missing sentinel inJoe Orton2008-08-061-1/+1
| | | | | | | apr_pstrcat call. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@683286 13f79535-47bb-0310-9956-ffa450edef68
* Remove all references to CORE_PRIVATE.Paul Querna2008-04-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645455 13f79535-47bb-0310-9956-ffa450edef68
* Tweaking code to compile on pre-C99 compilersMartin Kraemer2008-04-071-8/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645392 13f79535-47bb-0310-9956-ffa450edef68
* mod_session_cookie: Add a session implementation capable of storingGraham Leggett2008-04-041-0/+256
session information within cookies on the browser. Useful for high volume sites where server bound sessions are too resource intensive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@644748 13f79535-47bb-0310-9956-ffa450edef68