summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_np_tstream.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-15s3:cli_np_tstream: include smbXcli_base.h, because we'll use functions from ↵Stefan Metzmacher1-0/+1
there metze
2012-05-12s3/libsmb: Generalise cli_state in smb2 write callsLuk Claes1-8/+12
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 ioctl callsLuk Claes1-1/+4
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 create callsLuk Claes1-1/+3
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 close callsLuk Claes1-4/+18
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3-libsmb: Generalise cli_state in smb2 read callsLuk Claes1-1/+5
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-27s3:libsmb/cli_np_tstream: add support for SMB2Stefan Metzmacher1-41/+190
metze
2012-04-27s3:libsmb/cli_np_tstream: remove unused tstream_cli_np_existing()Stefan Metzmacher1-26/+0
metze
2011-08-03s3:cli_np_tstream: make use of cli_set_timeout()Stefan Metzmacher1-1/+2
metze
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