kernelsauce / turbo

Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
http://turbo.readthedocs.io/
Apache License 2.0
528 stars 84 forks source link

HEAD request gets stuck on redirect #211

Closed luastoned closed 9 years ago

luastoned commented 9 years ago
turbo.async.HTTPClient():fetch("http://t.co/rKAeu0zUNV", {method = "HEAD", allow_redirects = true})

the same request with GET does not get stuck on the first redirect, not sure what causes it

luastoned commented 9 years ago
curl -X HEAD -L http://t.co/rKAeu0zUNV -v

cURL works fine, might help for debugging

kernelsauce commented 9 years ago

Fixed in master branch. Please verify.

luastoned commented 9 years ago

Confirmed working.