Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@creationix
Created June 12, 2015 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creationix/3fdc0dfba211debe6609 to your computer and use it in GitHub Desktop.
Save creationix/3fdc0dfba211debe6609 to your computer and use it in GitHub Desktop.
diff --git a/deps/http.lua b/deps/http.lua
index 7da14c3..1efe4fd 100644
--- a/deps/http.lua
+++ b/deps/http.lua
@@ -302,7 +302,7 @@ function ClientRequest:initialize(options, callback)
local res
local function flush()
- res:_end()
+ res:push()
res = nil
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment