Jan Kneschke
4c814e01fa
* If sizeof(long) == sizeof(off_t), buffer_{append,copy}_off_t()
...
are only macros to buffer_{append,copy}_long()
* ltostr() returns the string length instead of always 0
* Don't check return value of buffer_prepare_append(buffer *b), since
it only returns -1 if b == NULL, which we do a few lines above anyway.
* Improved buffer_path_simplify(). No "dot_stack" required anymore.
Operation can also be performed inplace.
* Check errno also against EACCES at pidfile-unlink for not logging
a "Permission denied".
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@54 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
390fa3c979
* Changed AM_CONFIG_HEADER to AC_CONFIG_HEADER. The Manual says:
...
Older versions of Automake required the use of AM_CONFIG_HEADER;
this is no longer the case today.
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@53 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
56690eb7a1
tolerate \n\n instead of \r\n\r\n and handle overlapping
...
EOL correctly
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@52 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
552192845c
get pidof working on linux
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@51 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
871be14a47
moved SA_LEN macro to http-header-glue.c
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@50 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
9219fc4eda
moved external functions to *-glue.c
...
this simplifies the linkage on windows and macosx
which can't reference the binary for symbols
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@49 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
a578a36169
Don't use broken http_host pointer for debugging.
...
This circumvents a crash but is not a final fix
as the reason fo the crash hasn't been found yet.
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@48 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
564a6d30b8
removed warnings about shadowed variables
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@47 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
f378f32a5d
added ssl.ca-file and updated error-message if private and public key don't match
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@46 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
75b6e9ff3d
forget a 's' of the format-string (Bug #31 )
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@45 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
107554e28c
forgot to rename check.pl to run-tests.pl
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@44 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
ec2f803afc
added check for libfcgi to build special test-cases
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@43 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
b719e629af
moved most of the tests to run-tests.pl
...
- more tests
- less code to maintain
- more speed
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@42 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
52268df5fb
added note about requirement of server.document-root
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@41 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
4a18bdcf57
added bzip mimetypes
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@40 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
2a343ae169
replace inet_addr() by inet_aton() as the man-page on
...
linux recommends and as solaris likes for SunForte
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@39 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
3e88e04e9a
fix segfault in log_error_write if host is empty
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@38 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
d0eac2f218
config.h.in is autogenerated
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@37 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
962d82368d
added autogen.sh submitted by debugger@#lighttpd
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@36 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
c520f14bfb
allow empty cgi.assign handler
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@35 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
66460e058a
added all changes to ChangeLog and NEWS
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@33 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
3548edf76a
added SERVER_ADDR, REMOTE_PORT to mod_fastcgi and mod_cgi and
...
REQUEST_URI to mod_cgi
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@32 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
93cff2a3dc
forgot .cvsignore in the move
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@31 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
00fc1df915
moved everything below trunk/ and added branches/ and tags/
...
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago