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:
committed by
Gerald (Jerry) Carter
parent
bda978cc2a
commit
30acedb943
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user