agent: Close pseudo-TCP socket earlier in component_close()
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 30 Oct 2014 09:10:51 +0000 (09:10 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 30 Oct 2014 09:10:51 +0000 (09:10 +0000)
commit88cd37a4ffbe4bc623eda2c0ac01565d467976f3
tree2bc739c4149be4dcf29d2a3817d1b1a7cace5c6e
parent3bc28d43a5189e561087f9340467ef2bd314c7fb
agent: Close pseudo-TCP socket earlier in component_close()

This tries to mitigate the race condition between finishing the TCP FIN
handshake and closing the underlying sockets, but it’s impossible to
mitigate properly without API changes. See the comment.
agent/component.c