summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_np_tstream.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-08s3:libsmb/cli_np_tstream: s/TSTREAM_CLI_NP_BUF_SIZE/TSTREAM_CLI_NP_MAX_BUF_SIZEStefan Metzmacher1-6/+6
This isn't the fixed buffer size anymore, as we use dynamic beffer it's just the maximum size. metze
2011-06-08s3:libsmb:cli_np_tstream: use dynamic talloc buffersStefan Metzmacher1-9/+30
Having 8192 bytes on an idle connection is a bit to much, so we better use dynamic buffers using talloc, which also avoids a memcpy in the common SMBtrans readv codepath. metze
2011-06-07s3:libsmb/cli_np_tstream: use larger buffers to avoid a bug NT4 servers (bug ↵Stefan Metzmacher1-2/+17
#8195) NT4 servers return NT_STATUS_PIPE_BUSY if we try a SMBtrans and the SMBwriteX before hasn't transmited the whole DCERPC fragment. W2K and above is happy with that. As a result we try to match the behavior of Windows and older Samba clients, they use write and read buffers of 4280 bytes instead of 1024 bytes. On Windows only the SMBtrans based read uses 1024 (while we also use 4280 there). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 7 20:25:32 CEST 2011 on sn-devel-104
2011-05-30s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner1-4/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-05s3-libsmb: run minimal_includes.pl.Günther Deschner1-1/+0
Guenther
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-02-09Fix up some buildfarm warnings.Jeremy Allison1-1/+1
2010-12-21s3:cli_np_tstream: if SMBtrans is desired, the readv needs to wait for the ↵Stefan Metzmacher1-23/+70
last writev chunk. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 21 17:43:06 CET 2010 on sn-devel-104
2010-12-15s3:libsmb: add tstream_cli_np_get_cli_state()Stefan Metzmacher1-0/+8
metze
2010-12-15s3:libsmb: add tstream_cli_np_set_timeout()Stefan Metzmacher1-0/+15
metze
2010-12-15s3:libsmb: add tstream_cli_np_use_trans() and the needed logicStefan Metzmacher1-0/+181
tstream_cli_np_use_trans() defers the next tstream_writev to the next tstream_readv and send both as an SMBtrans request. metze
2010-12-15s3:libsmb: add tstream_is_cli_np()Stefan Metzmacher1-0/+13
metze
2010-12-15s3:libsmb: add cli_np_tstream.cStefan Metzmacher1-0/+775
This abstracts a named pipe over smb as a tstream, which will make it easier to implement the dcerpc layer in a more generic way. metze