Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: http-tpc fix NPE when monitoring network traffic
Motivation: A recently commited patch added support for monitoring over which TCP connection an HTTP-TPC data transfer is taking place. Unfortunately, this patch contained a race condition between the HTTP client establishing the TCP connection and the monitoring code querying over which connection the transfer is taking place. If the monitoring wins the race then a NullPointerException is logged. Modification Update code so it understands that a connection might not (yet) be connected. Result: An unreleased regression is fixed. Target: master Request: 7.0 Request: 6.2 Patch: https://rb.dcache.org/r/12709/ Acked-by: Lea Morschel
- Loading branch information