-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/21/2014 10:01 AM, Stephen von Takach wrote:
> Hi all,
> 
> 
> We have an issue where passing a socket over a pipe leads to a 
> duplication of file handles (same handle) to the one socket. Once
> the socket closes, the process / thread that was passed the socket
> sees the socket close, however libuv holds a reference to the
> socket which remains in |CLOSE_WAIT| status Please have a read of
> https://github.com/cotag/spider-gazelle/issues/20 for more detailed
> information.
> 
> 
> Closing the socket on the sender thread seems like a bad idea, how 
> should this be handled?
> 

I think you are hitting the handle IPC on Windows problem. Basically,
IIRC, it's not working as of right now. Sending handles over pipes
works across processes, but not across threads ATM.


Cheers,

- -- 
Saúl Ibarra Corretgé
bettercallsaghul.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJTpUp8AAoJEEEOVVOum8BZzTgP/jet0NgaInIzJaywkm/e5fC1
YBUIxWNHEgAkPKrW0nq0SSqkDT7G2Cz/lO3MKmqEQMQOpuGsN3fhWML4mEB2uq1b
tD7mkb+zXbTE27AwswCzmwS9EqR0k9LaaqhM5/TwGVXn2+wwnQpiINdqv67Rnzg+
/N0Ql/l0QdBb9u7qUoi5id/fUQIRlBR9ekrWTEqTh40AMZWDyY8oZeTUrdzcSiza
q4bRMsN2VxgSIewiTJf07D+USnuG2CPsw6Tw5zhvqw/0kSgB3m7aZ9FqZnMzU5Q7
4ODLJt8D7ByuotFbvauMpL7mIiO9jThlPk/w+ZbvZbvCfcMguJd9xUC0aTzsRdKs
ygOcMV/8f3dMs7FVI6huk40Q9PZAlxXidxJLm+bSxFC4Xqy+GrnNNesSDoHfcNTD
uEFteaUWW/fpl075zy55edXjYSRa8BJWN3y7gy8NUzM45cS5U/R4vB8ZWXvsRicZ
Sp/RXf/y0jpC6uh7vJvPWrNTx/r842Zskw0n1uSt39Kqk/rCy9hBu9FSDaY4hsD+
XoG8QiAGQ5Y+w80KErt5Ujbq8W7LwADlVEEKwzUWdbSleh92Xb9WOuybqVZiGaHp
VLZGDYyTpWLra7ghCvDLzKNy13RSUpl/zD5wSfmjTICYtV2gt9Tx2qTYp7kQDr3t
qeP+JYsIZ2G7gslyMuVp
=YQPo
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to