On Tue, 22 Apr 2025 18:48:06 GMT, Chen Liang <li...@openjdk.org> wrote:
>> PushId is an HTTP/3 concept. It would be strange to have a generic method >> (sendAsync) that you could call with any requests, but with a parameter that >> could only be used for HTTP/3. We don't have pushIds for HTTP/2. I don't >> think we would want to take this route. > > Do users need to track the push ids in a thread-safe data structure like > ConcurrentHashMap in a PushPromiseHandler? Yes, they would need to provide a thread safe PushPromisHandler, but not in a way that would be significantly different than how they would need to do it for HTTP/2 server pushes, if they used the same handler with different concurrent requests. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24751#discussion_r2054721621