summaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* PR56333: Add an API to resume a connection that a handler has previously ↵Eric Covener2014-05-114-1/+15
| | | | | | | | | | suspended. Submitted by: Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com> Committed by: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1593860 13f79535-47bb-0310-9956-ffa450edef68
* Extend the socket callbacks in event to allow a timeout on the I/O callback. Eric Covener2014-05-113-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | When a socket callback has a timeout, an associated timer event is used to remove the sockets from the pollset and call a timeout function. * This includes a noteworthy change to the main event loop. Previously, we would call epoll, then process the timer events, then iterate through the poll results. After this patch, the timer events are processed before the poll() a _non-queued_ action can change the pollset conents (a users timed callback function conversely could easily sit in a queue while the main thread continues down into epoll) * timer events can now have sockets associated with them, those sockets are removed from the pollset when the timer event fires w/o a queue to the worker. * timer events now have a canceled flag that can be toggled without locking the timer list. * Drop the severity of some wstunnel messages from DEBUG to TRACE1 * Lift the restriction on using asynchronous websockets connections but having an idle timeout git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1593857 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1384924 .Christophe Jaillet2014-04-241-3/+2
| | | | | | Update comment and allocate one extra byte to be safe, even if not needed in the particular case described in r1384924. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1589599 13f79535-47bb-0310-9956-ffa450edef68
* tiny doc/Doxygen improvementsJeff Trawick2014-04-171-5/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1588217 13f79535-47bb-0310-9956-ffa450edef68
* mod_ssl: Add hooks to allow other modules to perform processing atJeff Trawick2014-04-151-1/+2
| | | | | | | | | | | several stages of initialization and connection handling. See mod_ssl_openssl.h. This is enough to allow implementation of Certificate Transparency outside of mod_ssl. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587607 13f79535-47bb-0310-9956-ffa450edef68
* mod_proxy_http: Add detach_backend hook.Jeff Trawick2014-04-111-1/+2
| | | | | | | | | | | The immediate use is for a SSL-related module which works on the backend proxy connection to be able to "leak" information into the client r for logging. This could be useful with other proxy scheme handlers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1586719 13f79535-47bb-0310-9956-ffa450edef68
* Follows up r1572606.Yann Ylavic2014-02-271-1/+2
| | | | | | | MMN minor bump required by proxy_conn_rec change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1572611 13f79535-47bb-0310-9956-ffa450edef68
* Add in the concept of "slave" connections...Jim Jagielski2014-02-073-2/+27
| | | | | | | | Allows for several "connections" all resulting in a single real connection that talks to the network. Right now, nothing uses this though. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1565657 13f79535-47bb-0310-9956-ffa450edef68
* doxygen improvementsJeff Trawick2014-01-224-30/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560482 13f79535-47bb-0310-9956-ffa450edef68
* followups to r1557641 suggested by nd -- addEric Covener2014-01-181-2/+3
| | | | | | | | | prefix to both the macro and the handler name itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1559394 13f79535-47bb-0310-9956-ffa450edef68
* don't search for directory indexes/directoryslashes if a URL is in theEric Covener2014-01-131-1/+2
| | | | | | | middle of being rewritten [in per-dir context]. PR53929 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1557641 13f79535-47bb-0310-9956-ffa450edef68
* Add a "MATCH_" prefix to variables set withinGraham Leggett2014-01-031-1/+4
| | | | | | | LocationMatch/DirectoryMatch/FilesMatch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1555266 13f79535-47bb-0310-9956-ffa450edef68
* Oops, missed one. s/2013/2014/Rich Bowen2014-01-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554862 13f79535-47bb-0310-9956-ffa450edef68
* Add directives to control two protocol options:Justin Erenkrantz2013-12-302-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | HttpContentLengthHeadZero - allow Content-Length of 0 to be returned on HEAD HttpExpectStrict - allow admin to control whether we must see "100-continue" This is helpful when using Ceph's radosgw and httpd. Inspired by: Yehuda Sadeh <yehuda@inktank.com> See https://github.com/ceph/apache2/commits/precise * include/http_core.h (core_server_config): Add http_cl_head_zero and http_expect_strict fields. * modules/http/http_filters.c (ap_http_header_filter): Only clear out the C-L if http_cl_head_zero is not explictly set. * server/core.c (merge_core_server_configs): Add new fields. (set_cl_head_zero, set_expect_strict): New config helpers. (HttpContentLengthHeadZero, HttpExpectStrict): Declare new directives. * server/protocol.c (ap_read_request): Allow http_expect_strict to control if we return 417. * include/ap_mmn.h (MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR): Bump. * CHANGES: Add a brief description. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554303 13f79535-47bb-0310-9956-ffa450edef68
* core: Support named groups and backreferences within the LocationMatch,Graham Leggett2013-12-303-1/+15
| | | | | | | DirectoryMatch, FilesMatch and ProxyMatch directives. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554300 13f79535-47bb-0310-9956-ffa450edef68
* Remove useless \t and blank line that were not backported into 2.4.x in r1542557Christophe Jaillet2013-12-181-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551854 13f79535-47bb-0310-9956-ffa450edef68
* change r1500483 to only be enabled when building against the MS LDAP SDK.Eric Covener2013-12-181-1/+1
| | | | | | | | Guenter, please verify this still works for you. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551802 13f79535-47bb-0310-9956-ffa450edef68
* Add suspend_connection and resume_connection hooks to notify modulesJeff Trawick2013-11-302-1/+43
| | | | | | | | when the thread/connection relationship changes. (Currently implemented only for the Event MPM; should be implemented for all async MPMs.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1546759 13f79535-47bb-0310-9956-ffa450edef68
* Fix errorJim Jagielski2013-11-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1545415 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1541029:Jeff Trawick2013-11-211-1/+4
| | | | | | | Clarify handling of the directive argument git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1544156 13f79535-47bb-0310-9956-ffa450edef68
* Add parse_errorlog_arg callback to ap_errorlog_provider to allow providersJan Kaluža2013-11-122-1/+9
| | | | | | | | 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
* Error detection and a quick validity check when restoring...Jim Jagielski2013-11-081-0/+1
| | | | | | 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
* Correct typo in comments for ap_map_http_request_error().Chris Darroch2013-10-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529988 13f79535-47bb-0310-9956-ffa450edef68
* ap_rputs() silently truncated size_t to int, resulting in 130+ warningsJeff Trawick2013-10-051-1/+1
| | | | | | | when building httpd and a rich set of modules on Windows. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529449 13f79535-47bb-0310-9956-ffa450edef68
* skiplist is now in apr 1.5 and aboveJim Jagielski2013-10-021-82/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1528437 13f79535-47bb-0310-9956-ffa450edef68
* Error log providers need to be able to trigger a startup error from theirJeff Trawick2013-09-271-0/+4
| | | | | | | init() function. A NULL return code is the trigger. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1527003 13f79535-47bb-0310-9956-ffa450edef68
* mod_proxy: Add ap_connection_reusable() for checking if a connectionJeff Trawick2013-09-251-1/+2
| | | | | | | | | | | | is reusable as of this point in processing. mod_proxy_fcgi uses the new API to determine if FCGI_CONN_CLOSE should be enabled, but that doesn't change existing behavior since the connection is currently marked for closure elsewhere in the module. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526189 13f79535-47bb-0310-9956-ffa450edef68
* Add AP_ERRORLOG_PROVIDER_ADD_EOL_STR flag for ap_errorlog_provider, bump MMN.Jan Kaluža2013-09-242-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525845 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_errorlog_provider to make ErrorLog logging modular. MoveJan Kaluža2013-09-232-2/+30
| | | | | | | syslog support from core to new mod_syslog. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525597 13f79535-47bb-0310-9956-ffa450edef68
* Update related to r1519556Christophe Jaillet2013-09-031-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519587 13f79535-47bb-0310-9956-ffa450edef68
* mod_status, mod_echo: Fix the display of client addresses. They were ↵Christophe Jaillet2013-09-031-1/+1
| | | | | | | | truncated to 31 characters which is not enough for IPv6 addresses. PR 54848 [Bernhard Schmidt <berni birkenwald de>] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519556 13f79535-47bb-0310-9956-ffa450edef68
* Mention how "satisfy any" affects AAA hooks run after access_checker Eric Covener2013-08-271-0/+3
| | | | | | | | (access_checker_ex, check_user_id, auth_checker) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1517979 13f79535-47bb-0310-9956-ffa450edef68
* fix Doxygen warnings/commentsJeff Trawick2013-08-135-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1513461 13f79535-47bb-0310-9956-ffa450edef68
* Add util_fcgi.h and associated definitions and supportJeff Trawick2013-08-132-1/+282
| | | | | | | routines for FastCGI, based largely on mod_proxy_fcgi. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1513454 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.Jeff Trawick2013-08-102-1/+175
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1512819 13f79535-47bb-0310-9956-ffa450edef68
* access_checker_ex runs immediately after access_checker, Eric Covener2013-08-081-1/+1
| | | | | | | | | | | | | | which both must run well before auth_checker. No other contrast is possible so assuming this doc is just a typo. access_checker vs. access_checker_ex is discussed here: Subject: svn commit: r964156 - in /httpd/httpd/trunk: docs/manual/developer/ include/ modules/aaa/ server/ http://svn.apache.org/viewvc?rev=964156&view=rev git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1511878 13f79535-47bb-0310-9956-ffa450edef68
* fix a couple of grammar problemsJeff Trawick2013-08-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1509341 13f79535-47bb-0310-9956-ffa450edef68
* Fixed some Windows warnings.Guenter Knauf2013-07-071-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1500483 13f79535-47bb-0310-9956-ffa450edef68
* Avoid including apr_general.h.Guenter Knauf2013-07-041-2/+8
| | | | | | | | | | | The MSVC Resource Compiler truncates macro names at char 31. Since apr_general.h includes apr.h which in turn includes system headers we get warnings or errors with the Resource Compiler with newer system headers (VC10 and later) which have macro names defined with more than 31 chars. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1499742 13f79535-47bb-0310-9956-ffa450edef68
* Restore support for the AUTH_HANDLED return code in AUTHN providers,Eric Covener2013-07-032-2/+4
| | | | | | | | | like in 2.2, which allows authn provider to return their own status in r->status (custom error code, or return a redirect) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1499351 13f79535-47bb-0310-9956-ffa450edef68
* Replace pre_htaccess hook with more flexible open_htaccess hookStefan Fritsch2013-07-022-8/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1498880 13f79535-47bb-0310-9956-ffa450edef68
* factor out DEFAULT_HANDLER_NAMEEric Covener2013-06-262-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496709 13f79535-47bb-0310-9956-ffa450edef68
* *) core: merge AllowEncodedSlashes from the base configuration intoEric Covener2013-06-252-1/+4
| | | | | | | | (non-default) name-based virtual hosts. [Eric Covener] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496339 13f79535-47bb-0310-9956-ffa450edef68
* fix doc for ap_pregsub_ex() return codeJeff Trawick2013-06-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495501 13f79535-47bb-0310-9956-ffa450edef68
* make opaqueJim Jagielski2013-06-181-26/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1494156 13f79535-47bb-0310-9956-ffa450edef68
* Fold in Eric Covener's socket callbackJim Jagielski2013-06-172-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1493741 13f79535-47bb-0310-9956-ffa450edef68
* Added missing bump.Guenter Knauf2013-06-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491701 13f79535-47bb-0310-9956-ffa450edef68
* document paramsStefan Fritsch2013-06-091-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491180 13f79535-47bb-0310-9956-ffa450edef68
* Allow use of strtoul()Stefan Fritsch2013-06-091-6/+0
| | | | | | | | | It conforms to C89 and we don't support older compilers than that. PR: 55077 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491155 13f79535-47bb-0310-9956-ffa450edef68
* Note the given functions will be available in APR.Graham Leggett2013-06-061-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490292 13f79535-47bb-0310-9956-ffa450edef68