]> git.proxmox.com Git - mirror_edk2.git/commit - StdLib/EfiSocketLib/Tcp6.c
Fix the non-blocking behavior for connect. The behavior was correct if the code...
authorlpleahy leroy.p.leahy <lpleahy leroy.p.leahy@intel.com>
Fri, 13 Dec 2013 19:22:39 +0000 (19:22 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Dec 2013 19:22:39 +0000 (19:22 +0000)
commitceecdc62ab73e5b726630345865a512c780c134e
tree4ea89896d73b05d38295db368d821e8c13ab75a3
parentdaf705847f33db1f7a17c1c5b2a01d8f8ccba0ac
Fix the non-blocking behavior for connect.  The behavior was correct if the code polled the connect routine but was not correct when using select to complete the asynchronous request.  This change fixes the select case by moving where some of the operations performed upon the connection completion.

Signed-off-by: lpleahy leroy.p.leahy@intel.com
Reviewed-by: Daniel Moura oxesoft@gmail.com
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14984 6f19259b-4bc3-4df7-8a09-765794883524
StdLib/EfiSocketLib/Socket.c
StdLib/EfiSocketLib/Tcp4.c
StdLib/EfiSocketLib/Tcp6.c