-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Have you considered upgrading from http1.0 to http1.1? #6672
Comments
As mentioned in other For now, if you need a production-grade HTTP server for OSRM you can:
|
There's also #6411, which i believe is close to the finish line. |
void Connection::start()
} @mjjbell can you explain why should set async_wait repeatly when next request come in. keep-alive mode, I think the implement of keep-alive is not graceful and not effectable |
@GitBenjamin I have review the support of osrm network connection, I think if you set HTTP 1.0 to HTTP 1.1 it can work and increase the performance well though it is not the whole feature of HTTP 1.1 |
The built-in HTTP server is a basic HTTP/1.0 server that supports a 'keep-alive' extension. Persistent connections are limited to 512 requests per connection and allow no more than 5 seconds between requests.
Hi, @mjjbell .I've found that osrm supports long connection, but it's not really http1.1. Have you considered upgrading to http1.1?
The text was updated successfully, but these errors were encountered: