1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00

r3307: fixed the send side of the smb_server code to be non-blocking. This

means the whole of the SMB handling code is now non-blocking.
This commit is contained in:
Andrew Tridgell
2004-10-28 05:09:42 +00:00
committed by Gerald (Jerry) Carter
parent bda978cc2a
commit 30acedb943
3 changed files with 49 additions and 18 deletions

View File

@@ -74,6 +74,9 @@ struct smbsrv_tcon {
/* the context for a single SMB request. This is passed to any request-context
functions */
struct smbsrv_request {
/* the smbsrv_connection needs a list of requests queued for send */
struct smbsrv_request *next, *prev;
/* the server_context contains all context specific to this SMB socket */
struct smbsrv_connection *smb_conn;
@@ -289,4 +292,8 @@ struct smbsrv_connection {
/* this holds a partially received request */
struct smbsrv_request *partial_req;
/* this holds list of replies that are waiting to be sent
to the client */
struct smbsrv_request *pending_send;
};