Changeset 820
- Timestamp:
- 05/29/09 09:42:24 (6 months ago)
- Files:
-
- 1 modified
-
trunk/lib/Perlbal/Plugin/Redirect.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Perlbal/Plugin/Redirect.pm
r819 r820 22 22 $res_header->header('Location' => "http://$target_host$path"); 23 23 $res_header->header('Content-Length' => 0); 24 # really should only do the keep-alive for 1.1, but that's a bigger issue 25 $res_header->header('Connection' => 'keep-alive'); 24 # For some reason a follow-up request gets a "400 Bad request" response, 25 # so until someone has time to figure out why, just punt and disable 26 # keep-alives after this request. 27 $res_header->header('Connection' => 'close'); 26 28 $pb->write($res_header->to_string_ref()); 27 29
