summaryrefslogtreecommitdiffstats
path: root/modules/arch/win32/mod_isapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mod_isapi: use consistent filenameEric Covener2022-06-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901504 13f79535-47bb-0310-9956-ffa450edef68
* Add missing pool tags to help debugging.Yann Ylavic2020-04-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876599 13f79535-47bb-0310-9956-ffa450edef68
* Fix spelling errors found by codespell. [skip ci]Mike Rumph2020-02-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873985 13f79535-47bb-0310-9956-ffa450edef68
* Fix spelling in comments and text files.Rainer Jung2016-08-111-3/+3
| | | | | | | | No functional change. PR 59990 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756038 13f79535-47bb-0310-9956-ffa450edef68
* Added many log numbers to log statements thatRainer Jung2016-01-191-6/+6
| | | | | | | | | 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
* Added many log numbers to log statements thatRainer Jung2016-01-191-5/+5
| | | | | | | | | | | had none. Handled all files in modules/. I used the coccinelle script provided by Stefan. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725392 13f79535-47bb-0310-9956-ffa450edef68
* Silent a sparse Warning.Christophe Jaillet2015-11-291-1/+2
| | | | | | | | | | | cid->ecb->lpszLogData can not be NULL. It is defined in mod_isapi.h as: typedef struct EXTENSION_CONTROL_BLOCK { ... char lpszLogData[80]; ... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1717086 13f79535-47bb-0310-9956-ffa450edef68
* Fix some style issues on files that can easily be synch'ed with 2.4.xChristophe Jaillet2015-09-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705983 13f79535-47bb-0310-9956-ffa450edef68
* Add missing APLOGNO.Christophe Jaillet2014-07-201-12/+12
| | | | | | | | Refactor some lines to keep APLOGNO on the same line as ap_log_error, when applicable. Split lines longer than 80. Improve alignment. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612068 13f79535-47bb-0310-9956-ffa450edef68
* s/equivalant/equivalent/ in commentsChristophe Jaillet2013-12-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550828 13f79535-47bb-0310-9956-ffa450edef68
* Code clean up (remove useless memory allocation) Stefan Fritsch2012-07-151-1/+1
| | | | | | | | Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr> PR: 52648 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1361803 13f79535-47bb-0310-9956-ffa450edef68
* definAtelyJeff Trawick2011-12-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213381 13f79535-47bb-0310-9956-ffa450edef68
* Add lots of unique tags to error log messagesStefan Fritsch2011-12-031-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
* Fix apr_status_t being passed as loglevelStefan Fritsch2011-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209741 13f79535-47bb-0310-9956-ffa450edef68
* Remove more log message prefixes that are now redundant as theStefan Fritsch2011-11-291-36/+36
| | | | | | | the error log format includes the module name. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208110 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-231-6/+6
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
* Add more (trace) logging to the ap_scan_script_header*() functionsStefan Fritsch2011-07-161-4/+4
| | | | | | | | | | Add ap_scan_script_header*_ex() functions that take a module index for logging. Make mod_cgi, mod_cgid, mod_proxy_fcgi, mod_proxy_scgi, mod_isapi use the new functions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1147493 13f79535-47bb-0310-9956-ffa450edef68
* Fix a few warnings about use of uninitialized values.Stefan Fritsch2011-07-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1143193 13f79535-47bb-0310-9956-ffa450edef68
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-061-1/+1
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* Prevent future developers from being as easily confused; prefix theWilliam A. Rowe Jr2010-03-051-20/+20
| | | | | | | registered callback function names with regfnXxx. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@919543 13f79535-47bb-0310-9956-ffa450edef68
* revert r918671; these four functions don't need to beJeff Trawick2010-03-051-39/+16
| | | | | | | | addressible except via the function pointers in the EXTENSION_CONTROL_BLOCK git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@919531 13f79535-47bb-0310-9956-ffa450edef68
* follow up to r918665:Jeff Trawick2010-03-031-16/+39
| | | | | | | | | These particular functions can't be static because they're part of ISAPI, so use a different mechanism to quiet the gcc warnings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@918671 13f79535-47bb-0310-9956-ffa450edef68
* fix these warnings:Jeff Trawick2010-03-031-17/+17
| | | | | | | | | | | | mod_isapi.c:488: warning: no previous prototype for ‘GetServerVariable’ mod_isapi.c:590: warning: no previous prototype for ‘ReadClient’ mod_isapi.c:807: warning: no previous prototype for ‘WriteClient’ mod_isapi.c:863: warning: no previous prototype for ‘ServerSupportFunction’ mod_isapi.c:1407: warning: no previous prototype for ‘isapi_handler’ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@918665 13f79535-47bb-0310-9956-ffa450edef68
* SECURITY: CVE-2010-0425 (cve.mitre.org)William A. Rowe Jr2010-03-021-2/+0
| | | | | | | | | | mod_isapi: Do not unload an isapi .dll module until the request processing is completed, avoiding orphaned callback pointers. Submitted by: Brett Gervasoni <brettg senseofsecurity.com>, trawick Reviewed by: trawick, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@917870 13f79535-47bb-0310-9956-ffa450edef68
* Correctly evaluate the HTTPS condition string.William A. Rowe Jr2007-01-041-1/+1
| | | | | | | PR: 40573 Submitted by: Matt Eaton <asf divinehawk.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@492341 13f79535-47bb-0310-9956-ffa450edef68
* Where any response is sent, return OK from the handler. Where thereWilliam A. Rowe Jr2007-01-031-16/+48
| | | | | | | | | | | | is no response (but a status code) return the code. This patch adds a great number of debugging emits for failed ap_pass_brigade calls, to help diagnose failure cases, and disambiguates OK from APR_SUCCESS. PR: 40470 Submitted by: wrowe, Matt Eaton <asf divinehawk.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@492333 13f79535-47bb-0310-9956-ffa450edef68
* Revert a regression introduced in the recent overhauls of mod_isapi.William A. Rowe Jr2006-12-071-1/+11
| | | | | | | | | | | PR 40470 points out that we no longer handle ate == headlen, where there is a headers-only response from the isapi app to the server. This patch restores the previous behavior of pending those headers until some amount of body response is ready to be sent to the client. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483613 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
* Solve 416291, but in a more elegant manner, and with a littleWilliam A. Rowe Jr2006-06-221-12/+24
| | | | | | | | more attention to clearing the subreq and determining that an r->filename existed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@416293 13f79535-47bb-0310-9956-ffa450edef68
* Stop appending a backslash if some trailing slash is present.William A. Rowe Jr2006-06-221-2/+3
| | | | | | | | | | For cross platform isapi we aught to find out what to add from apr, slash or backslash, but can't think of the trivial answer at this hour. PR: 15993 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@416291 13f79535-47bb-0310-9956-ffa450edef68
* mod_isapi: Handle "HTTP/1.1 200 OK" style status lines correctly, theWilliam A. Rowe Jr2006-06-221-1/+1
| | | | | | | | | | | | token parser worked while the resulting length was misinterpreted. We were also off by one in apr_cpystrn which demands room for the trailing null be counted. PR: 29098 Submitted by: Brock Bland <bbland serena.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@416288 13f79535-47bb-0310-9956-ffa450edef68
* We need to pay alot more attention here to ap_pass_brigade.William A. Rowe Jr2006-06-221-9/+10
| | | | | | | PR 30022 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@416278 13f79535-47bb-0310-9956-ffa450edef68
* mod_isapi: Ensure we walk through all the methods the developer may haveWilliam A. Rowe Jr2006-06-221-18/+62
| | | | | | | | | | employed to report their HTTP status result code. PR: 16637, 30033 Submitted by: Matt Lewandowsky <matt iamcode.net> Reviewed by: William Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@416272 13f79535-47bb-0310-9956-ffa450edef68
* * server/core.c (default_handler): Use apr_brigade_insert_file() toJoe Orton2006-06-141-22/+1
| | | | | | | | | | | | | | | | append the file to the brigade. * server/protocol.c (ap_send_fd), modules/proxy/mod_proxy_http.c (spool_reqbody_cl), modules/cache/mod_mem_cache.c (recall_body), modules/cache/mod_disk_cache.c (recall_body), modules/mappers/mod_negotiation.c (handle_map_file), modules/generators/mod_asis.c (asis_handler), modules/dav/fs/repos.c [DEBUG_GET_HANDLER] (dav_fs_deliver), modules/arch/win32/mod_isapi.c (ServerSupportFunction): Likewise. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@414238 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
* Eliminate last win32-isms, SetLastError becomes apr's set_os_errorWilliam A. Rowe Jr2006-03-181-24/+24
| | | | | | | operation. It unfolds the error code on win32, so we have to pre-fold it. On unix there is no folding. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@386821 13f79535-47bb-0310-9956-ffa450edef68
* Escape from casting purgatory, which the Solaris cc compilerWilliam A. Rowe Jr2006-03-181-22/+24
| | | | | | will not treat as lvalues. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@386790 13f79535-47bb-0310-9956-ffa450edef68
* Unsure why win32 never noticed this, but the value returned is a const char*William A. Rowe Jr2006-03-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@384731 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-101-123/+123
| | | | | | | | 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
* No functional change: simple detabbing of indented code.Jim Jagielski2005-11-101-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 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
* mod_isapi: GetServerVariable returned improperly terminated headerJeff Trawick2004-02-161-4/+6
| | | | | | | | | | | fields given "ALL_HTTP" or "ALL_RAW". PR: 20656 Submitted by: Jesse Pelton <jsp pkc.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102643 13f79535-47bb-0310-9956-ffa450edef68
* mod_isapi: send_response_header() failed to copy status string'sJeff Trawick2004-02-161-1/+1
| | | | | | | | | | | last character. PR: 20619 Submitted by: Jesse Pelton <jsp pkc.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102642 13f79535-47bb-0310-9956-ffa450edef68
* mod_isapi: GetServerVariable("ALL_RAW") returned the wrong bufferJeff Trawick2004-02-161-1/+1
| | | | | | | | | | | size. PR: 20617 Submitted by: Jesse Pelton <jsp pkc.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102641 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102618 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according to the first checkinAndré Malo2004-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102555 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-53/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* switch to APR 1.0 API (which is still in flux)Jeff Trawick2003-09-031-1/+1
| | | | | | | | because of the changes to the argument lists of apr_mmap_dup and apr_socket_create, 2.1-dev won't build with apr and apr-util's 0.9 branch anymore git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101154 13f79535-47bb-0310-9956-ffa450edef68
* Confirmed by Milan Kosina that this code was still broken - I realizedWilliam A. Rowe Jr2003-02-251-12/+30
| | | | | | | | | | we weren't updating stat correctly, and shouldn't have been trying to pass the status, but the headers instead, from WriteClient(). This way we can actually count the bytes consumed and begin treating the rest as body contents. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98793 13f79535-47bb-0310-9956-ffa450edef68