swindon-rs / tk-http

Full featured HTTP and Websockets library for rust/tokio
Apache License 2.0
136 stars 10 forks source link

Handling of `Connection: close` #8

Closed tailhook closed 7 years ago

tailhook commented 7 years ago
  1. Should not receive more requests if current one contains Connection: close in input headers
  2. Should close connection automatically after sending response if RequestConfig::do_close is true
tailhook commented 7 years ago

Should work in 0.1.0