Files
neon/proxy/src
Conrad Ludgate 3bd6551b36 proxy http cancellation safety (#7117)
## Problem

hyper auto-cancels the request futures on connection close.
`sql_over_http::handle` is not 'drop cancel safe', so we need to do some
other work to make sure connections are queries in the right way.

## Summary of changes

1. tokio::spawn the request handler to resolve the initial cancel-safety
issue
2. share a cancellation token, and cancel it when the request `Service`
is dropped.
3. Add a new log span to be able to track the HTTP connection lifecycle.
2024-03-14 08:20:56 +00:00
..
2024-03-07 18:23:19 +00:00
2023-10-25 15:43:03 +01:00
2023-11-27 21:45:15 +00:00
2024-02-12 18:41:02 +00:00
2024-03-07 18:23:19 +00:00
2023-12-18 10:59:49 +00:00
2024-01-31 14:51:11 +01:00
2023-11-06 17:44:44 +00:00
2024-02-09 15:50:51 +00:00
2022-07-04 23:46:37 +03:00