summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-remote-parse.h
Commit message (Collapse)AuthorAge
* journal-remote: avoid copying input dataZbigniew Jędrzejewski-Szmek2014-07-15
| | | | | | Instead of copying fields into new memory allocations, simply keep pointers into the receive buffer. Data in this buffer is only copied when there is not enough space for new data and a large chunk of the buffer contains old data.
* journal-remote: rework fd and writer reference handlingZbigniew Jędrzejewski-Szmek2014-07-15
|
* Fix problem with allocating large buffers and log leftoversZbigniew Jędrzejewski-Szmek2014-07-15
|
* journal-remote: allow splitting incoming logs by source hostZbigniew Jędrzejewski-Szmek2014-07-15
| | | | | | | | | | Previously existing scheme where the file name would be based on the source was just too ugly and unpredicatable. Now there are only two options: 1. just one file (until rotation), 2. one file per source host, using the hostname as filename part. For the cases where the source is specified by the user, only option one is allowed, and the full of the file must be specified.
* journal-remote: reject fields above maximum sizeZbigniew Jędrzejewski-Szmek2014-07-15
| | | | | | | Also fix an infinite loop on E2BIG. Remember what range we already scanned for '\n', to avoid quadratic behaviour on long "text" fields.
* Move network-related journal programs to src/journal-remote/Zbigniew Jędrzejewski-Szmek2014-07-15
Directory src/journal has become one of the largest directories, and since systemd-journal-gatewayd, systemd-journal-remote, and forthcoming systemd-journal-upload are all closely related, create a separate directory for them.