New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http GET not working on luasocket 3.0 #102
Comments
|
I believe this is a bug on the server side. |
|
So luasocket 2.0 did not send the port number with the host name? Just curious why it would work there? Also are there benefits to adding the port number in the host name? Thanks. |
|
Seems like the correct line in the adjustheaders() function is |
|
Something like that. But we must make sure we have |
|
It would take a request with an empty host to break this code. This would trigger an error earlier on, in adjustheaders(). |
|
With the recent edit to http.lua the problem is not happenning anymore. Thanks. |
Hi,
If I do the following:
It prints the correct HTML if I use luasocket 2.0 but if I use luasocket 3.0 it prints out this:
Is this a bug or something needs to be done differently?
The text was updated successfully, but these errors were encountered: