Closed confact closed 1 year ago
if sending in streams like this: http://208.85.242.52:8178 and using uri.path will give a empty string, causing problems when sending GET HTTP header.
http://208.85.242.52:8178
A added a simple fix to my memory-leak-fix branch to fix this, like this:
path = uri.path if path == nil || path == "" path = "/" end
And use path instead.
if sending in streams like this:
http://208.85.242.52:8178
and using uri.path will give a empty string, causing problems when sending GET HTTP header.A added a simple fix to my memory-leak-fix branch to fix this, like this:
And use path instead.