summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
08c2d61)
out stuff ourselves. This fixes an extremely long-standing bug with Squid.
sub handler {
my $r = shift;
my $dbh = Sesse::pr0n::Common::get_dbh();
sub handler {
my $r = shift;
my $dbh = Sesse::pr0n::Common::get_dbh();
+
+ # We ignore the body, but we _must_ consume it fully before
+ # we output anything, or Squid will get seriously confused
+ $r->discard_request_body;
$r->headers_out->{'DAV'} = "1,2";
$r->headers_out->{'DAV'} = "1,2";