mirror of
https://github.com/reactos/reactos.git
synced 2024-09-03 17:19:20 +00:00
- Revert my lib changes until I figure out some problems with them
svn path=/branches/aicom-network-fixes/; revision=35155
This commit is contained in:
parent
5345dbe2ae
commit
ede9f79604
|
@ -89,10 +89,8 @@ static VOID HandleSignalledConnection( PCONNECTION_ENDPOINT Connection,
|
|||
if( Status == STATUS_PENDING ) {
|
||||
InsertHeadList( &Connection->ListenRequest, &Bucket->Entry );
|
||||
break;
|
||||
} else {
|
||||
} else
|
||||
Complete( Bucket->Request.RequestContext, Status, 0 );
|
||||
PoolFreeBuffer( Bucket );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -143,7 +141,6 @@ static VOID HandleSignalledConnection( PCONNECTION_ENDPOINT Connection,
|
|||
|
||||
Complete( Bucket->Request.RequestContext,
|
||||
STATUS_SUCCESS, Received );
|
||||
PoolFreeBuffer( Bucket );
|
||||
} else if( Status == STATUS_PENDING ) {
|
||||
InsertHeadList
|
||||
( &Connection->ReceiveRequest, &Bucket->Entry );
|
||||
|
@ -153,7 +150,6 @@ static VOID HandleSignalledConnection( PCONNECTION_ENDPOINT Connection,
|
|||
("Completing Receive request: %x %x\n",
|
||||
Bucket->Request, Status));
|
||||
Complete( Bucket->Request.RequestContext, Status, 0 );
|
||||
PoolFreeBuffer( Bucket );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -202,7 +198,6 @@ static VOID HandleSignalledConnection( PCONNECTION_ENDPOINT Connection,
|
|||
|
||||
Complete( Bucket->Request.RequestContext,
|
||||
STATUS_SUCCESS, Sent );
|
||||
PoolFreeBuffer( Bucket );
|
||||
} else if( Status == STATUS_PENDING ) {
|
||||
InsertHeadList
|
||||
( &Connection->SendRequest, &Bucket->Entry );
|
||||
|
@ -212,7 +207,6 @@ static VOID HandleSignalledConnection( PCONNECTION_ENDPOINT Connection,
|
|||
("Completing Send request: %x %x\n",
|
||||
Bucket->Request, Status));
|
||||
Complete( Bucket->Request.RequestContext, Status, 0 );
|
||||
PoolFreeBuffer( Bucket );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -238,7 +232,6 @@ static VOID HandleSignalledConnection( PCONNECTION_ENDPOINT Connection,
|
|||
Bucket = CONTAINING_RECORD( Entry, TDI_BUCKET, Entry );
|
||||
Complete = Bucket->Request.RequestNotifyObject;
|
||||
Complete( Bucket->Request.RequestContext, STATUS_SUCCESS, 0 );
|
||||
PoolFreeBuffer( Bucket );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -843,7 +836,6 @@ VOID TCPRemoveIRP( PCONNECTION_ENDPOINT Endpoint, PIRP Irp ) {
|
|||
|
||||
if( Bucket->Request.RequestContext == Irp ) {
|
||||
RemoveEntryList( &Bucket->Entry );
|
||||
PoolFreeBuffer( Bucket );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue