summaryrefslogtreecommitdiffstats
path: root/include/apreq_util.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-11-12At least one authorizer that doesn't use libfcgi directlyJeff Trawick1-21/+9
or indirectly does not like getting an empty FCGI_STDIN block. Don't send it. (Other mods for httpd didn't send it to authorizers either.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1541181 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12Add parse_errorlog_arg callback to ap_errorlog_provider to allow providersJan Kaluža5-1/+31
to check the ErrorLog argument. Implement this check in mod_syslog. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1541029 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11[trunk][doc] Introducing .fr translation for howto/accessVincent Deffontaines4-0/+462
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540810 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09Update.Lucien Gentis1-7/+12
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540342 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09Expand some of these fields... mostlt it's the workers that weJim Jagielski1-10/+10
need to expand due to them mapping to actual hostnames NOTE: 96 enough? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540318 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09Avoid the confusion... the digests are NOT strings.Jim Jagielski2-10/+23
Add some debug logging git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540220 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08If apr_file_read did return APR_EOF, then ensure that,Jim Jagielski1-0/+1
as long as we read the right number of bytes, we return APR_SUCCESS git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540179 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08Allow for backwards compatibility for the md5 check...Jim Jagielski1-6/+16
if we've read the slotmem data and we are at EOF, then don't bother checking the md5 and assume all is OK. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540178 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08whitespaceJim Jagielski1-1/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540163 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08Error detection and a quick validity check when restoring...Jim Jagielski2-17/+34
Designed to address errors, not nefarious changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08UDS urls need to be desockified when configuring...Jim Jagielski2-6/+39
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540052 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08Ensure that the file-based shm file is removed...Jim Jagielski1-0/+5
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1540051 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08Do not lose log messages with NULL server_rec when error log provider is used.Jan Kaluža1-6/+26
- set stderr_log to NULL after it is redirected to /dev/null - use log provider of ap_server_conf in log_error_core when no server_rec is provided and std_err_log is NULL git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1539988 13f79535-47bb-0310-9956-ffa450edef68
2013-11-04PR 55475: Detect incomplete body in HTTP input filter and return APR_INCOMPLETEJim Jagielski3-6/+20
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1538776 13f79535-47bb-0310-9956-ffa450edef68
2013-11-04c->sbh can be unexpectedly NULL when the thread that pulls the ready keepaliveEric Covener2-1/+4
connection out of the queue laps the thread that put it on the queue. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1538490 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02Remove useless apr_pstrdup as done for other mod_auth modules in r1026660Christophe Jaillet1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1538149 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01xformsDaniel Gruno1-16/+23
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1537927 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01Fixes to the modguide, courtesy of Petter Berntsen (sluggr)Daniel Gruno1-16/+23
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1537915 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31* support/rotatelogs.c: Introduce an adjusted_time_t type to store theJoe Orton1-11/+17
weird "adjusted time since epoch" type returned by get_now(). Switch from int to long to fix an unnecessary Y2K38 issue. Adjust use throughout and clean up other type issues. No functional change intended apart from fixing Y2K38. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1537718 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31For better compatibility with mod_nss:Joe Orton2-5/+8
* modules/ssl/ssl_engine_config.c (ssl_config_server_new): Default sc->enabled to UNSET. * modules/ssl/ssl_engine_init.c (ssl_init_Module): Only override sc->enabled based on the protocol iff sc->enabled is UNSET; allows "SSLEngine off" to override the Listen-based default. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1537535 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28Transforms.Joe Orton37-3777/+3881
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1536311 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28* docs/manual/upgrading.xml: Note 2.4 backwards-compat break forJoe Orton1-0/+8
some piped logging configurations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1536310 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26this was backported to 2.2, so not an upgrade issue.Eric Covener1-5/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1536021 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26/. InitialisationsLucien Gentis5-11/+23
if (! laCouleurFond) setCouleurFond(MENU_POPUP_COULEUR_FOND); else setCouleurFond(laCouleurFond); git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535995 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25Allow for format specifiers to be used in the base substitution string for ↵Daniel Ruggeri2-15/+20
Header edit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535788 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25Remove unused APXS setting from template for generated MakefileJeff Trawick1-1/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535699 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23SECURITY (CVE-2014-0231): Fix for DoS due to hang waiting for CGI script.Eric Covener6-5/+85
Patch one of two. Permit a read timeout to be used in mod_cgid to give up on a slow CGI script. In trunk, it defaults to the servers Timeout. PR43494 Submitted By: Eric Covener, Toshikuni Fukaya Reviewed By: Eric Covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535125 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23axe some useless assignments (clang scan-build)Jeff Trawick2-5/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534997 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23don't ignore some apr_procattr failures (clang scan-build)Jeff Trawick1-2/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534995 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23rotatelogs: Remove last constant length error buffer.Ben Reser1-18/+20
* support/rotatelogs.c (ERRMSGSZ): Remove. (rotate_status): Remove errbuff member. (truncate_and_write_error): Accept the error message as an argument. (doRotate): Shift the pool destruction slightly later and use it to generate the error message to pass truncate_and_write_error(). (main): In case of write errors create a pool to generate the error message, since the other pools available may never been freed. Adjust to pass message directly to truncate_and_write_error(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534914 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23rotatelogs: Remove another use of a consant length buffer for errors.Ben Reser1-6/+4
* support/rotatelogs.c (doRotate): Use apr_psprintf() and %pm. Move the destruction of the pool after we're done with the error message so the error string stays allocated long enough. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534896 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23rotatelogs: Use apr_psprintf() with %pm instead of a constant length buffer forBen Reser1-19/+17
errors. * support/rotatelogs.c (post_rotate, doRotate): Switch to using apr_psprintf() with %pm. Suggested by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534895 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23don't pass uninitialized rv passed to ap_log_rerror()Jeff Trawick1-2/+3
(rv wasn't interesting / follow an existing example) stop throwing away a pointer on the heap (clang scan-build) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534892 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23axe attempt to close a previously-closed apr socketJeff Trawick1-1/+0
(clang scan-build says "uninitialized", but it doesn't know how apr_sockaddr_info_get() reports errors) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534890 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23axe unused autodata+heap (clang scan-build)Jeff Trawick1-1/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534888 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22SSL_CONF support for files and directories.Stephen Henson4-9/+36
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534754 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21* modules/proxy/mod_proxy_http.c (ap_proxy_http_request): Use the sameJoe Orton1-1/+1
brigade lifetime for the header brigade as the other brigades. POSSIBLE (but as yet unconfirmed) fix for crashes seen with threaded servers, e.g. PR 50335; appears correct or at least not harmful. PR: 50335 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534321 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21Fix r1533728. Not a great idea to dereference process after pool destroy!Nick Kew1-1/+6
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534015 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20update transformationAndré Malo17-37/+64
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533943 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20property fix.André Malo1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533940 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20Followup to r1533810: Put the rotatelogs docs in the right place.Ben Reser3-12/+9
* docs/man/rotatelogs.8, docs/manual/programs/rotatelogs.html.en: Remove changes from r1533810. * docs/manual/programs/rotatelogs.xml: Adjust docs for new -d option. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533935 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19Add an option to autocreate directories to rotatelogs.Ben Reser3-9/+45
* support/rotatelogs.c (rotate_config): Remove const from szLogRoot since we'll be passing it to apr_filepath_merge. Add create_path member. (usage, dumpConfig): Update to reflect new -d option. (doRotate): Add code that knows how to create the directories a log file is going to go into. (main): Add the -d option and canonicalize the incoming path with apr_filepath_merge() so that the code in doRotate can work properly. * docs/man/rotatelogs.8, docs/manual/programs/rotatelogs.html.en: Update for -d option. PR: 46669 Submitted by: Philippe Lantin <plantin cobaltgroup.com> (which was actually a patch written by myself when I worked there) Tweaked by: breser (ported to trunk and changed option from -p to -d) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533810 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19Updates.Lucien Gentis3-21/+42
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533767 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19Like r1532122: Axe needless string duplication inJeff Trawick1-3/+1
setup for call to apr_proc_create(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533765 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19Remove erroneous space reported in pr55676Daniel Ruggeri1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533750 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19PR 55670Nick Kew2-0/+12
Don't risk failing silently at startup when running in a tty. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533728 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18* Fix logical flaw introduced in r1531340. We checked for the opposite.Ruediger Pluem1-1/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533444 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18Rüdiger and Yann suggestionsJim Jagielski1-6/+7
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533440 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18xformsIgor Galić7-7/+9
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533276 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18So, Fix pet-peeve!Igor Galić1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533275 13f79535-47bb-0310-9956-ffa450edef68