Skip to content

Instantly share code, notes, and snippets.

@ryanschwartz
Created June 24, 2010 21:31
Show Gist options
  • Save ryanschwartz/452011 to your computer and use it in GitHub Desktop.
Save ryanschwartz/452011 to your computer and use it in GitHub Desktop.
[carmen:/Volumes/vitalsource/bootstrap] admin$ cat passenger_gzip_boom.patch
--- Hooks.cpp 2009-10-21 22:45:03.000000000 +0000
+++ Hooks.cpp.patch 2009-10-26 19:17:19.000000000 +0000
@@ -480,7 +480,7 @@
const char *contentLength;
expectingUploadData = ap_should_client_block(r);
- contentLength = lookupHeader(r, "Content-Length");
+ contentLength = NULL;
/* If the HTTP upload data is larger than a threshold, or if the HTTP
* client sent HTTP upload data using the "chunked" transfer encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment