Commit Graph

1 Commits

Author SHA1 Message Date
Daniel Fuchs
4288d68f08 8178147: Race conditions in timeout handling code in http/2 incubator client
Timeout handling code (in particular cancel(IOException)) is modified to take into account cancellation arising before exchange implementation is established or response completable future is created. TimeoutEvent::compareTo method is modified to be consistent with TimeoutEvent::equals.

Reviewed-by: prappo, chegar, michaelm
2017-04-11 16:32:38 +01:00