path: root/tcps_sess.h
Commit message (Collapse)AuthorAgeFilesLines
* added configuration directive to disable octet-counted framingRainer Gerhards2012-03-191-1/+2
| | | | ... for imtcp, directive is $InputTCPServerSupportOctetCountedFraming
* some more files to ASL 2.0Rainer Gerhards2012-01-111-15/+14
* RcvFromIP now also a propertyRainer Gerhards2009-07-011-1/+1
| | | | | | This sets stage to enable use of the property-interface to speed up things (mildly), the next step to be done. I have also fixed one regression of yesterday's changes.
* introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-301-1/+2
| | | | | | | | | | | ... plus a fix for a long-time bug in obj-types.h. That lead to the object pointer only then to become NULL when the object was actually destructed, I discovered this issue during introduction of the pRcvFrom property in msg_t, but it potentially had other effects, too. I am not sure if some experienced instability resulted from this bug OR if its fix will cause harm to so-far "correctly" running code. The later may very well be. Thus I will change it only for the current branch and also the beta, but not in all old builds. Let's see how things evolve.
* added new testing module imdiagRainer Gerhards2009-05-251-3/+5
| | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-2/+9
| | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-021-1/+1
| | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-0/+2
| | | | | | | | | | - bugfix: TCP input modules did incorrectly set fromhost property (always blank) - bugfix: imklog did not set fromhost property - added "fromhost-ip" property - added "RSYSLOG_DebugFormat" canned template - bugfix: hostname and fromhost were swapped when a persisted message (in queued mode) was read in
* some cleanup (gotten rid of some more plain chars)Rainer Gerhards2008-05-061-1/+1
* fixed newly introduced memory leaksRainer Gerhards2008-04-241-2/+1
* removed listener array from inidividual netstrm (mostly finished)Rainer Gerhards2008-04-231-1/+1
* added new netstrms classRainer Gerhards2008-04-231-2/+3
| | | | netstrms is at the top layer of the socket abstraction
* objects for receive-side socket abstraction specifiedRainer Gerhards2008-04-231-1/+1
| | | | | | | The objects for receiver-side socket abstraction have now be specified. The project as whole does not yet compile and definitely not run, but I'd like to commit some milestones along this way.
* cleanup: removed no longer needed filesRainer Gerhards2008-04-161-6/+0
* bugfix: TCP (and GSSAPI) octet-counted frame did not work correctly in allRainer Gerhards2008-03-141-0/+5
| | | | | situations. If the header was split across two packet reads, it was invalidly processed, causing loss or modification of messages.
* made imgssapi compileRainer Gerhards2008-03-031-4/+6
* - added class tcpsRainer Gerhards2008-03-021-0/+73
- added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken