Ticket #1648 (closed defect: fixed)
Lighty 1.5 drops headers for keep-alive sent from PHP
| Reported by: | Psih | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | core | Version: | 1.5.x-svn |
| Severity: | normal | Keywords: | lighttpd 1.5 keep-alive |
| Cc: | Blocked By: | ||
| Need User Feedback: | no | Blocking: |
Description
I have a script witch shoudn't use keep alive (and other site parts should). As Lighttpd doesn't support conditional keep-alive (Also tested and confirmed by hoffie) I used PHP like this: Header('Connection: close'); That is what i get in reality (I used Firefox extension Live HTTP Headers):
GET /announce.php HTTP/1.1 Host: file.lv User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: uid=280883; __utma=263829531.1162435829.1201506950.1208258425.1208377469.46; pass=2f9bf6d23d01cac56dddd0ce68ad4d9d; __utmz=263829531.1201506950.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none) HTTP/1.x 200 OK Content-Type: text/plain;charset=windows-1251 Pragma: no-cache Content-Length: 45 Date: Sat, 19 Apr 2008 07:06:33 GMT
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

