Author: dgorbachev
Date: Mon Feb 2 06:28:31 2009
New Revision: 39285
URL:
http://svn.reactos.org/svn/reactos?rev=39285&view=rev
Log:
Hack-close TCP connection. Bug #1283.
Modified:
trunk/reactos/drivers/network/afd/afd/main.c
Modified: trunk/reactos/drivers/network/afd/afd/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/ma…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] Mon Feb 2 06:28:31 2009
@@ -248,6 +248,12 @@
if( FCB->EventSelect ) ObDereferenceObject( FCB->EventSelect );
+ /* HACK HACK HACK */
+ TdiCloseDevice( FCB->Connection.Handle,
+ FCB->Connection.Object );
+ TdiCloseDevice( FCB->AddressFile.Handle,
+ FCB->AddressFile.Object );
+
FileObject->FsContext = NULL;
DestroySocket( FCB );