On 1/11/2024 1:13 AM, Cao Duc Quan wrote:
If I grasp your point correctly, the statement "*curl may not process a GOAWAY immediately*" implies that there might be a delay in some of cURL's internal logic until a user initiates a request. However, I believe that my proposal will ensure the callback is triggered promptly whenever nghttp2 receives a GOAWAY frame, as it will be invoked within the nghttp2_session_callbacks_set_on_frame_recv_callback() chain, possibly passing through the layers of socket -> ssl -> nghttp2.


nghttp2 won't receive the frame until curl reads that connection. As I explained there's no connection upkeep except for curl_easy_upkeep which only sends a PING. I have proposed allowing curl_easy_upkeepĀ  to be called on easy handles with shared connection caches. [1]


[1]: https://github.com/curl/curl/pull/12677
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to