summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/echo.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3959: fix compiler warningsStefan Metzmacher1-3/+3
metze (This used to be commit e28351f710525ca9863210974544a8b1a537e63a)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell1-0/+1
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-2/+3
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r2680: switched the libcli/raw/ code over to use talloc_reference(), which ↵Andrew Tridgell1-1/+1
simplifies things quite a bit (This used to be commit c82a9cf750829c4f6982ca3133295c8599023c4e)
2007-10-10r2500: disable the sleep test in echo until we have a win32 echo server thatAndrew Tridgell1-6/+5
does Microsoft style async rpc serving (This used to be commit 050dcd9b95576e1a9c0cb2144fc01c690853abc0)
2007-10-10r2443: check return code of event_loop_once() to catch thet cases where the ↵Stefan Metzmacher1-1/+3
server closes the connetion and we got EBADF from select() and event_loop_once() fails metze (This used to be commit 9c0e50a6f3d628156b4543d5ded89e06be696f64)
2007-10-10r2105: added a TestSleep() operation to the echo pipe and extended theAndrew Tridgell1-0/+55
RPC-ECHO test to use it to test asynchronous rpc operations. (This used to be commit a5eb6cad5050928fab593e1f9a82fbfba589120c)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher1-2/+2
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-1/+1
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2004-02-03- add 'print' to the DCERPC binding stringsStefan Metzmacher1-2/+0
e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2003-12-14added auto-generation of the server side boilerplate code for eachAndrew Tridgell1-4/+4
pipe. The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and gets included in the pipe module (This used to be commit bd3dcfe5820489a838e19b244266bd9126af5eb4)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell1-0/+2
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-20make the echo idl match the win32 IDL againAndrew Tridgell1-1/+1
(This used to be commit 4b901bd717a48daae24d8f7738169ac3cc5ba7fa)
2003-11-19switched to a new way of handling unions, so that we can handleAndrew Tridgell1-1/+1
alignment correctly for unions that have non-uint16 discriminants fixed the union handling in srvsvc.idl. (metze, please take a look at the changes, your IDL did match what was one the wire in most cases, but isn't the way IDL is usually coded) (This used to be commit 7b5d0287298e8505e0ec7b22d75d9f9a8a610031)
2003-11-19started to expand the echo tests to include more interesting testAndrew Tridgell1-2/+33
cases. We fail one of the alignment tests. (This used to be commit 5bb21e57b844e98cc8f1dc264bc45097c08329e3)
2003-11-18use the auto-generated UUID, version and name rather than listing themAndrew Tridgell1-1/+4
in the dcerpc core code (This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
2003-11-18* use the new auto-generated debug code method.Andrew Tridgell1-5/+0
* add a couple more info levels to wkssvc (This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)
2003-11-17use [subcontext] to make GetPrinter a bit easier in smbtortureAndrew Tridgell1-2/+3
(This used to be commit a5140985d8f57695b4165c72af217092da6fae5f)
2003-11-14we can now do a level1 NetDfsEnum()Andrew Tridgell1-0/+5
(This used to be commit f32641f73f7ff12b797378b3b533603ff1d526b5)
2003-11-13fixed rpcecho EchoData debug codeAndrew Tridgell1-2/+2
(This used to be commit 01cdcba5cdf742599f1ec1ad23c723523cd1e839)
2003-11-13* fixed conformant arrays in structuresAndrew Tridgell1-5/+38
* expanded the rpcecho test * started adding the NETDFS pipe (This used to be commit 095ab42cbdd5c1c5ab753e2eb275742ba822c8b9)
2003-11-09converted the rpcecho pipe to use IDLAndrew Tridgell1-23/+29
(This used to be commit 1b7a7bc4641e4f0e604bc20699c094fa5f49315d)
2003-11-04yipee! we can now do lsaOpenPolicy() via the new interfaces, withoutAndrew Tridgell1-3/+5
using any of the old lsa code (This used to be commit f5bd301ff7befa223a1d761a37ae8f7ce7f1fcd1)
2003-11-04added support for fragmented sendsAndrew Tridgell1-6/+1
(This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a)
2003-11-04added fragmentation support on receive for dcerpc packets. I haveAndrew Tridgell1-5/+11
successfully used SourceData with 200M of data in rpcecho (This used to be commit a9aa7954fe84c925bb158af8b73aa71b7ea84e2b)
2003-11-03added SinkData and SourceData tests for rpcechoAndrew Tridgell1-1/+71
(This used to be commit 7c356350e6148078725de6b6829eb0855771ae17)
2003-11-03added rpcecho EchoData testAndrew Tridgell1-0/+42
(This used to be commit 9c7e4db4712d1b2b7d8125e3ae535efd50b80f58)
2003-11-03added a helper function to make building rpc functions a bit easierAndrew Tridgell1-12/+31
(This used to be commit a8feb80438680b9ec399c908987c58c4a6a998e6)
2003-11-03started adding RPC-ECHO torture casesAndrew Tridgell1-0/+51
(This used to be commit 8cff335dab438aa2dbcca91a717e14ef5a8288dd)