summaryrefslogtreecommitdiffstats
path: root/modules/proxy/ajp_msg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added many log numbers to log statements thatRainer Jung2016-01-191-1/+3
| | | | | | | | | had none. Those were not detected by the coccinelle script. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725485 13f79535-47bb-0310-9956-ffa450edef68
* Silence a sparse warning about inconsistent indentingChristophe Jaillet2015-08-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700318 13f79535-47bb-0310-9956-ffa450edef68
* Fix crash in packet dump code of mod_proxy_ajp whenRainer Jung2012-08-161-3/+6
| | | | | | | | | logging with LogLevel trace7 or trace8. PR 53730 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1373898 13f79535-47bb-0310-9956-ffa450edef68
* Cure size_t abuse, curse some recent code [recommit good bits from r1227852]William A. Rowe Jr2012-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227856 13f79535-47bb-0310-9956-ffa450edef68
* Revert a whole mess that was not ment to be committedWilliam A. Rowe Jr2012-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227855 13f79535-47bb-0310-9956-ffa450edef68
* Cure size_t abuse, curse some recent codeWilliam A. Rowe Jr2012-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227852 13f79535-47bb-0310-9956-ffa450edef68
* Add lots of unique tags to error log messagesStefan Fritsch2011-12-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiler warningStefan Fritsch2011-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153511 13f79535-47bb-0310-9956-ffa450edef68
* Slightly reorganize previously unused dump method.Rainer Jung2011-07-301-29/+80
| | | | | | | Add AJP packet log method on top of dump method. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1152451 13f79535-47bb-0310-9956-ffa450edef68
* axe some useless or debug-inhibiting error checkingJeff Trawick2011-02-271-25/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1075064 13f79535-47bb-0310-9956-ffa450edef68
* fix function name in log textJeff Trawick2011-02-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1074659 13f79535-47bb-0310-9956-ffa450edef68
* Fix some compiler warnings:Stefan Fritsch2010-06-141-1/+3
| | | | | | | | | | | - suggest braces around empty body in an 'if' statement - comparison of unsigned expression >= 0 is always true - comparison of unsigned expression < 0 is always false Please review carefully. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954641 13f79535-47bb-0310-9956-ffa450edef68
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-061-0/+1
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* * modules/proxy/ajp_msg.c (ajp_msg_dump, ajp_msg_check_header,Joe Orton2007-02-221-3/+3
| | | | | | | asj_msg_copy): Fix format string warnings on x86_64. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@510522 13f79535-47bb-0310-9956-ffa450edef68
* At support for ProxyIOBufferSize in AJP.Jean-Frederic Clere2006-10-231-14/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467014 13f79535-47bb-0310-9956-ffa450edef68
* Make sure the error signature is logged as doubleMladen Turk2006-08-021-1/+1
| | | | | | hex byte. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@427951 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
* small cleanup of EBCDIC support in mod_proxy_ajpJeff Trawick2006-05-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@409709 13f79535-47bb-0310-9956-ffa450edef68
* * Actually we are adding 3 bytes to the string (two for the length in frontRuediger Pluem2006-05-251-1/+1
| | | | | | | and a \0 at the end) and not 2. So adjust the length check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@409446 13f79535-47bb-0310-9956-ffa450edef68
* Update the copyright year in all .c, .h and .xml filesColm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-101-22/+22
| | | | | | | | means that "blank" lines consisting of just spaces or tabs are now really blank lines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
* * Fix PR37100 (SEGV in mod_proxy_ajp), by sending the data up the filterRuediger Pluem2005-10-211-0/+18
| | | | | | | | | | | | | | | | | chain immediately instead of spooling it completely before passing it to the filter chain. It contains a bandaid to handle intentional flushes from Tomcat side. Further explanation in code and report. ajp.h: Add ajp_msg_reuse prototype mod_proxy_ajp.c: Adjust logic of ap_proxy_ajp_request ajp_msg.c: Add ajp_msg_reuse ajp_header.c: Adjusting logic of ajp_read_header git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@327185 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* Rewrite Cookies and other headers in mod_proxy_ajp as configured withSander Striker2005-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ProxyPassReverse and ProxyPassReverseCookiePath. * modules/proxy/proxy_ajp.c (ap_proxy_ajp_request): Update call to ajp_parse_header(). * modules/proxy/ajp.h (ajp_msg_get_string): constify argument. (ajp_parse_header): Add conf argument. * modules/proxy/proxy_util.c (ap_proxy_location_reverse_map): Promoted from mod_proxy_http. (ap_proxy_cookie_reverse_map): Promoted from mod_proxy_http; renamed from proxy_cookie_reverse_map. * modules/proxy/ajp_msg.c (ajp_msg_get_string): constify argument. * modules/proxy/proxy_http.c (ap_proxy_location_reverse_map, proxy_cookie_reverse_map: Removed. (process_proxy_header): Update header mapping table to reference the now public functions. * modules/proxy/ajp_header.c (ajp_unmarshal_response): And conf argument. Reverse map cookies and other headers. (ajp_parse_header): Update call to ajp_unmarshal_response(). * modules/proxy/mod_proxy.h (ap_proxy_location_reverse_map, ap_proxy_cookie_reverse_map): Declare functions that have been promoted to be public. (ap_proxy_header_reverse_map_fn): Typedef for the signature of the above two functions (currently used in mod_proxy_http). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124901 13f79535-47bb-0310-9956-ffa450edef68
* Use plain apr/apr-util for ajp.Mladen Turk2004-09-301-10/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105353 13f79535-47bb-0310-9956-ffa450edef68
* * modules/proxy/ajp_msg.c (ajp_msg_dump): Cast apr_size_t to unsignedJoe Orton2004-09-131-1/+1
| | | | | | | long to avoid the warning with %lx for 32-bit size_t too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105104 13f79535-47bb-0310-9956-ffa450edef68
* Fix format string warnings in proxy_ajp on 64-bit platforms:Joe Orton2004-09-111-62/+32
| | | | | | | | | | | | | | | | | | | * modules/proxy/ajp_header.c (ajp_send_data_msg): Use APR_SIZE_T_FMT. * modules/proxy/ajp_link.c (ajp_ilink_receive): Don't pass \n to ap_log_error; do use APR_SIZE_T_FMT. * modules/proxy/ajp_msg.c (ajp_msg_dump, ajp_msg_check_header, ajp_msg_copy): Use APR_SIZE_T_FMT. (ajp_log_overflow): New function. (ajp_msg_{append,peek,get}_*): Use it. * modules/proxy/proxy_ajp.c (ap_proxy_ajp_request): Use APR_SIZE_T_FMT. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105071 13f79535-47bb-0310-9956-ffa450edef68
* jakarta-tomcat-connectors AJP files.Jean-Frederic Clere2004-08-181-0/+607
The original location of the files in jakarta is: jakarta-tomcat-connectors/ajp/ajplib/test (That was not a good idea) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104711 13f79535-47bb-0310-9956-ffa450edef68