-
-
Notifications
You must be signed in to change notification settings - Fork 130
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/post connection close #72
Comments
Hi, I'm not sure how to reproduce this. All http requests' sockets are closed after one request, which is not optimal but should thus not entail the issue your describing. Could tell us more about your issue and how to reproduce it? Thanks! |
Hello I use http.post for scrobbling on a function called by on_metadata. My problem is that the server where are sent data takes a long time to respond causing "We must catchup" messages. Scrobbing serveur sends http header "Connection: close" to release the client but liquidsoap does not take into account and waits for the server closes the connection. In php, you can send "Connection: close" like this
A workaround is to use curl (he takes "Connection: close" into account) in system function. |
Last commit should have fixed this issue. Please re-open if needed.. |
http.get/post functions do not close http connection when the server sends the "Connection: close" header.
The text was updated successfully, but these errors were encountered: