-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/30/2014 09:41 PM, Andrius Bentkus wrote: > Does windows delay the allocation of a read to the last possible > moment as well? >
AFAIS yes. There is some code that preallocates the buffer for X connections, but it was "tempmanently" disabled in 2011: https://github.com/joyent/libuv/commit/4e9edceb980401d92d45710a07b00872b430fd12 Not sure why this (https://github.com/joyent/libuv/blob/master/src/win/tcp.c#L455) zero-read is needed, maybe Bert can elaborate. - -- Saúl Ibarra Corretgé bettercallsaghul.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBAgAGBQJTscCjAAoJEEEOVVOum8BZgo4P/RDo64V34nP9OE4iGnmxDu7A Ovm+4rQQNtAK+2mOO5wHlKasNwskzUZQ5U3Kwm+2KoNgOK4FQQBc1lojbKtTmt6G ZIY+N3frk17UOQgUBKue7IJl6SZ5etI0I7Be64DqpMY+6745eg7mmxLW05NOnBM2 kMkWvMi8OxiVqlzcqOrnsRGm9s4LAwOtRVsPM6AT9/lnlZ6t3IEvwM53c9+xryY2 gO6vFo1PqaR8wFCiy071ZwJaVoy4jaypsd2GDApM5Co30F1p88EGY7qrcwXzPV+L 18A6vyF0WYxLoCGUYZAvnijnS45Ym//LRY1D9Afe1bpo79R15nk+3XXXw7qXYx+w tmdHbhuvAetciwuKDW48x+iKF9VYvBSxkk/WPF3vtFaSlNSpYKRx8FXPw3E2Xvt/ 6w3M9TwEMjqK+bJrmw9vJy7UNvd2Gnz8wacdEVzwniKuVLzYKLGaM1BLS2ov9Ajx Xp6C8VIU4fGLZo3CVT4VGiIdsoLqS99h3ws0+MkYPkMhuplTjTtzPqg3Y+KHAtsS aBXl2FNDSNescM0aPRd08k/Y4j+qZToVQEYMN9eCzxvrVI68XL+DyFea729bJS46 SlZkbYcHoa8iPopK+HWOwZIVEf9o9msqfME8OSInT5aBAgq2uDuyJ/OuSR4Znw+L 4t0FNvH6YE6IPDBHgh9X =KhcQ -----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.
