server wip
authorGünther Deschner <gd@samba.org>
Tue, 19 Sep 2017 18:00:42 +0000 (20:00 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 Feb 2020 14:13:26 +0000 (15:13 +0100)
source3/smbd/process.c
source3/smbd/smb2_server.c

index 15f578ab8f963ba9a92bd8cf706bc4970aef82c7..cbabd66283978e97af750bfee678cc18dd1610e6 100644 (file)
@@ -3927,7 +3927,8 @@ NTSTATUS smbd_add_connection(struct smbXsrv_client *client, int sock_fd,
        }
 
        /* for now we only have one connection */
-       DLIST_ADD_END(client->connections, xconn);
+       DLIST_ADD(client->connections, xconn);
+       //DLIST_ADD_END(client->connections, xconn);
        xconn->client = client;
        talloc_steal(client, xconn);
 
index 5db856f3dbecbbb14288421b8bde65c408551d2f..791164fa8a56897cd8339881eba28ed37a9e2cea 100644 (file)
@@ -3973,7 +3973,7 @@ static NTSTATUS smbd_smb2_flush_send_queue(struct smbXsrv_connection *xconn)
                xconn->smb2.send_queue_len--;
                DLIST_REMOVE(xconn->smb2.send_queue, e);
 
-               if (e->ack.req != NULL) {
+               if (0 && e->ack.req != NULL) {
                        e->ack.last_byte = xconn->smb2.sent_bytes;
                        DLIST_ADD_END(xconn->smb2.ack_queue, e);
                        continue;