Jan Kneschke
485fea2cbb
improved hints if startup fails
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@825 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-10 00:30:18 +00:00
Jan Kneschke
e290b119db
added startup-time selectable network-backend
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@808 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 15:34:00 +00:00
Jan Kneschke
c76035f592
fixed preparation of the content if we have to get the content from 2 network packets
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@747 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 12:29:04 +00:00
Jan Kneschke
5cafff4776
print bin-path if a fastcgi-binary exits at spawning time and us %lld for long long int
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@746 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 12:30:18 +00:00
Jan Kneschke
1c09f28447
removed con->request.content (mem-buffer) by a chunk-queue
...
which can buffer to tempfiles of the content is to large
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@741 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:56:39 +00:00
Jan Kneschke
119c0da37c
the last header line is parsed again and X-LIGHTTPD-send-file was added.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@706 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 13:55:06 +00:00
Jan Kneschke
63dceeb0c6
open files only once for chunk, cache mmap and let the chunk itself close the fd ( fixed #261 , #257 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@703 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 08:00:33 +00:00
Jan Kneschke
38b8743af3
- don't keep the full fastcgi response in memory
...
- don't cache more than 4 chunks in a queue for reuse
- on chunkqueue_reset, clean the chunks
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@696 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 10:00:32 +00:00
Jan Kneschke
0f9a82bd0e
only enable fastcgi if necessary
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@690 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-06 10:07:36 +00:00
Jan Kneschke
f350d3253a
replaced /bin/sh exec by a simple cmdline parser ( fixed #133 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@663 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 23:01:08 +00:00
Jan Kneschke
1b4b0b313a
tell the user to use the right PHP build for FastCGI
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@565 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 15:28:20 +00:00
Jan Kneschke
c92984c270
fixed error-msg for EAGAIN in connect()
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@540 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 09:52:02 +00:00
Jan Kneschke
cd4c324ff2
allow numbers in header-keys
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@523 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 16:32:17 +00:00
Jan Kneschke
c8408d015c
removed setup_connection (merged [295])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@512 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 10:27:07 +00:00
Jan Kneschke
5e134da075
dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@502 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 08:22:06 +00:00
Jan Kneschke
c5502e66eb
added support to have a PATH_INFO on /prefix if check-local is disabled
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@477 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-28 10:22:53 +00:00
Jan Kneschke
7126a0f2bc
detect endless loops and kill them
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@470 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-23 20:42:34 +00:00
Jan Kneschke
39b12c5fc6
be a bit more verbose for log-request-handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@439 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-11 11:00:23 +00:00
Jan Kneschke
e6a090656f
disable adaptive spawning for now
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@380 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-12 09:28:06 +00:00
Jan Kneschke
b527f569af
added more debug info and fix hang after a local fcgi process has died
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@364 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-04 14:28:00 +00:00
Jan Kneschke
e7def825a8
remove FDEVENT_OUT as soon as we hit _READ and only call joblist_append() if really needed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@343 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-05-05 08:15:05 +00:00
Jan Kneschke
be5bb63b00
merged [166]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@318 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-04-30 05:39:37 +00:00
Jan Kneschke
85194f365f
fixed pathinfo handling on /fcgi_pattern
...
* added a new option broken-scriptfilename which should be
enabled for PHP if PATH_INFO is needed.
* droped path_info_offset and used PATH_INFO from response.c
directly
* set PATH_TRANSLATED only if PATH_INFO is set
* always match the extension/prefix on uri.path
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@78 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 18:36:02 +00:00
Jan Kneschke
bde657648d
compile fixes for MIPSpro on IRIX
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@68 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 23:01:12 +00:00
Jan Kneschke
7725e92ff6
rewrote the event and error handling with the help of the fcgi-responder.c from the tests.
...
fixed #38 and other issues this way
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@63 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 16:54:47 +00:00
Jan Kneschke
2420fd96d2
added checks for the line-terminator handling and cleanup the configs
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@62 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 13:37:40 +00:00
Jan Kneschke
aa63120540
tolerate \n\n instead of \r\n\r\n and handle overlapping
...
EOL correctly
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@52 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 09:35:06 +00:00
Jan Kneschke
9ce460f051
forget a 's' of the format-string (Bug #31 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@45 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-27 22:48:12 +00:00
Jan Kneschke
bc7f12ca71
replace inet_addr() by inet_aton() as the man-page on
...
linux recommends and as solaris likes for SunForte
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@39 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-22 00:18:04 +00:00
Jan Kneschke
a39b52810e
added SERVER_ADDR, REMOTE_PORT to mod_fastcgi and mod_cgi and
...
REQUEST_URI to mod_cgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@32 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 15:02:57 +00:00
Jan Kneschke
bcdc6a3bbc
moved everything below trunk/ and added branches/ and tags/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:27:00 +00:00