On second thought, when the connection fails we call Close on the socket handler:
https://github.com/xrootd/xrootd/blob/c91b1acf4fcf7f39c7b104353bcde1cc6fdd3032/src/XrdCl/XrdClStream.cc#L708-L711

which in turn removes the socket from the poller and closes it:
https://github.com/xrootd/xrootd/blob/c91b1acf4fcf7f39c7b104353bcde1cc6fdd3032/src/XrdCl/XrdClAsyncSocketHandler.cc#L183-L194

so how comes the handler is still receiving events from the poller???


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: <xrootd/xrootd/issues/1979/1488341092@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1979#issuecomment-1488341092", "url": "https://github.com/xrootd/xrootd/issues/1979#issuecomment-1488341092", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1