summaryrefslogtreecommitdiffstats
path: root/support/logresolve.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Increase the max line length from 2k to 128k and allocate the buffer on theStefan Fritsch2011-10-171-7/+8
| | | | | | | | | heap. Every log line has an URL and one or more HTTP headers. Each can be 8k long. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1185119 13f79535-47bb-0310-9956-ffa450edef68
* Specify a pool for cache with apr_hash_pool_get instead of describing "pool" ↵Takashi Sato2009-05-301-3/+3
| | | | | | directly git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@780170 13f79535-47bb-0310-9956-ffa450edef68
* Remove the conditional for APR >= 1.3.Takashi Sato2009-05-261-4/+0
| | | | | | | httpd 2.3 has needed APR 1.3 or later since r582069. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@778778 13f79535-47bb-0310-9956-ffa450edef68
* Make pline a child of main pool.Takashi Sato2009-05-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@778761 13f79535-47bb-0310-9956-ffa450edef68
* Fix a memory leak by freeing the memory every line. Takashi Sato2009-05-251-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@778448 13f79535-47bb-0310-9956-ffa450edef68
* Kill the hardcoded valuesTakashi Sato2009-05-251-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@778433 13f79535-47bb-0310-9956-ffa450edef68
* Declare the local variables in the more inner scope.Takashi Sato2009-05-251-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@778431 13f79535-47bb-0310-9956-ffa450edef68
* Kill the hardcoded valuesTakashi Sato2009-05-191-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@776290 13f79535-47bb-0310-9956-ffa450edef68
* * support/logresolve.c (main): Simplify to avoid conditionals in handlingJoe Orton2007-03-071-8/+11
| | | | | | | | of lines without spaces: ensure a newline is printed for the cache-hit path and fix a crash in apr_file_printf for the cache-miss path. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@515565 13f79535-47bb-0310-9956-ffa450edef68
* Fix near-identical potential NULL pointer dereferences, as found byColm MacCarthaigh2007-03-061-4/+4
| | | | | | | Jorton and corrected in r514915 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514954 13f79535-47bb-0310-9956-ffa450edef68
* Prevent format specifier busting.Colm MacCarthaigh2007-03-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514953 13f79535-47bb-0310-9956-ffa450edef68
* Correct a spurious access to whatever memory is at location "1" in theColm MacCarthaigh2007-03-061-1/+3
| | | | | | | cirumstance where a log line is of the form "nn.nn.nn.nn ". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514952 13f79535-47bb-0310-9956-ffa450edef68
* correct some indentation, no functional changesColm MacCarthaigh2007-03-061-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514949 13f79535-47bb-0310-9956-ffa450edef68
* * support/logresolve.c (main): Fix potential NULL pointer dereference,Joe Orton2007-03-061-1/+1
| | | | | | | found by Coverity analysis tool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514915 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
* 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: more indenting/formatting changes due toJim Jagielski2005-11-101-2/+2
| | | | | | | tabbing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332316 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-101-29/+29
| | | | | | | | 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-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
* Logresolve style and nit fix-ups:Colm MacCarthaigh2005-10-241-28/+27
| | | | | | | | | | | * Remove some redundant whitespace in variable declarations. * Add some whitespace for clarity around an if and a while statement. * Remove redundant and unneccessary casts * Use APR_HASH_KEY_STRING git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328048 13f79535-47bb-0310-9956-ffa450edef68
* A complete rewrite of support/logresolve.c:Colm MacCarthaigh2005-10-241-299/+230
| | | | | | | | | | | | | * Now uses APR * Supports IPv6 addresses * Slighty less hurtful on memory * archaic (but interesting) notes marked as historical * Will not perform very well without APR >= 1.3 due to lack of buffered file-io. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@327909 13f79535-47bb-0310-9956-ffa450edef68
* Allow httpd on NetWare to build using either the standard socket libraries ↵Bradley Nicholes2005-04-151-2/+2
| | | | | | or the Winsock libraries. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161368 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
* logresolve: Allow size of log line buffer to be overridden atJeff Trawick2004-03-211-0/+2
| | | | | | | | | build time (MAXLINE). PR: 27793 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103060 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@102619 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according the first cehck inAndré Malo2004-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102592 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* * support/logresolve.c (strdup): Remove, APR alreadyJoe Orton2003-11-051-13/+0
| | | | | | | provides this if necessary. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101704 13f79535-47bb-0310-9956-ffa450edef68
* Fix up the log resolve utility to work with NetWare. Increased the stack sizeBradley Nicholes2003-03-111-3/+3
| | | | | | | and fixed WSAStartup to use the correct version number git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98984 13f79535-47bb-0310-9956-ffa450edef68
* avoid colliding with getline() as defined by glibcJeff Trawick2002-05-101-3/+3
| | | | | | | (it breaks if you need to turn on _GNU_SOURCE) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95035 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: added Cygwin specific APR_SETVARs.William A. Rowe Jr2001-08-301-0/+4
| | | | | | | | | | | | | | | * os/config.m4: added Cygwin specific values for $OS and $OS_DIR. $OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things clean as with 1.3.20. * support/logresolve.c: added OS specific #ifdef statement to define h_errno as extern __declspec(dllimport); it's imported from the cygwin1.dll itself. Submitted by: Stipe Tolj <tolj@wapme-systems.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90805 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakeDoug MacEachern2001-02-081-1/+1
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
* Cleanups so that the support programs build cleanly. The Win32 valuesRyan Bloom2000-12-221-0/+6
| | | | | | | | | need to be sanity checked. Submitted by: Cliff Woolley <cliffwoolley@yahoo.com> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87506 13f79535-47bb-0310-9956-ffa450edef68
* All the supports now build on APR (+APRUTIL), no reliance on httpd.William A. Rowe Jr2000-12-211-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87501 13f79535-47bb-0310-9956-ffa450edef68
* This should build entirely with APR support.William A. Rowe Jr2000-12-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87500 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of some warnings on Solaris 8 by using APR's ctype macros:Jeff Trawick2000-11-021-1/+1
| | | | | | | | | | | logresolve.c: In function `main': logresolve.c:327: warning: subscript has type `char' ab.c: In function `main': ab.c:1074: warning: subscript has type `char' ab.c:1087: warning: subscript has type `char' git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86793 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85976 13f79535-47bb-0310-9956-ffa450edef68
* Get the ap_config.h cleanup working on FreeBSD by adding includes ofJeff Trawick2000-06-131-2/+7
| | | | | | | | | | additional system headers. A platform check in logresolve.c to determine whether or not we include <arpa/inet.h> was converted to a feature check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85567 13f79535-47bb-0310-9956-ffa450edef68
* Protect system header files with the appropriate macros.Ryan Bloom2000-06-131-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85558 13f79535-47bb-0310-9956-ffa450edef68
* Clean up a big chunk of ap_config.h. This basically stops ap_config.h fromRyan Bloom2000-06-121-0/+1
| | | | | | | | | | | | | including any files. Because of this change, other files must include their own headers. I also cleaned up a couple of other bugs in some modules because I had to compile them all. I expect this to break multiple platforms, but this will be fixed over time. The massive configure cleanup is almost done. I will go through the files one more time after this commit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85553 13f79535-47bb-0310-9956-ffa450edef68
* Fix some compile breaks in the support directory. These have not beenRyan Bloom2000-04-271-1/+2
| | | | | | | tested, but they do compile at least. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85054 13f79535-47bb-0310-9956-ffa450edef68
* Some Windows tweaks from William Rowe...Bill Stoddard2000-04-251-5/+14
| | | | | | | Submitted by: William Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85034 13f79535-47bb-0310-9956-ffa450edef68
* Missed this one when I was making the support programs compile onDavid Reid1999-10-211-1/+1
| | | | | | | BeOS. All should now compile on "vanilla" BeOS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84014 13f79535-47bb-0310-9956-ffa450edef68
* These changes allow the support programs to compile on BeOS.David Reid1999-10-111-1/+6
| | | | | | | | | The biggest change is in ab.c where the functions that BeOS needs that aren't the standard format are hidden behind a new ab_* define. Tested on FreeBSD and BeOS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83964 13f79535-47bb-0310-9956-ffa450edef68
* Changed pools to contexts. Tested with prefork and pthread mpm's. I'llRyan Bloom1999-08-311-1/+1
| | | | | | | check this out tomorrow and make sure everything was checked in correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83852 13f79535-47bb-0310-9956-ffa450edef68
* Apache 1.3.9 baseline for the Apache 2.0 repository.Roy T. Fielding1999-08-241-0/+345
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9 Submitted by: Apache Group git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83750 13f79535-47bb-0310-9956-ffa450edef68