diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-01-15 17:01:10 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-01-15 17:01:10 +0100 |
commit | 5b4e06fc28ef217e9ca26611e11afd974bdd1a4a (patch) | |
tree | cc42234fc9995da3974d055da054351e8b0fabb7 /runtime/stream.h | |
parent | f88291d561eb785317a39a644c53a0cf86633eaa (diff) | |
download | rsyslog-5b4e06fc28ef217e9ca26611e11afd974bdd1a4a.tar.gz rsyslog-5b4e06fc28ef217e9ca26611e11afd974bdd1a4a.tar.xz rsyslog-5b4e06fc28ef217e9ca26611e11afd974bdd1a4a.zip |
bugfix: rsyslog hangs when writing to a named pipe which nobody was reading.
Thanks to Michael Biebl for reporting this bug.
Diffstat (limited to 'runtime/stream.h')
-rw-r--r-- | runtime/stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/stream.h b/runtime/stream.h index 64ffb6e1..89175b0f 100644 --- a/runtime/stream.h +++ b/runtime/stream.h @@ -76,7 +76,8 @@ typedef enum { STREAMTYPE_FILE_SINGLE = 0, /**< read a single file */ STREAMTYPE_FILE_CIRCULAR = 1, /**< circular files */ - STREAMTYPE_FILE_MONITOR = 2 /**< monitor a (third-party) file */ + STREAMTYPE_FILE_MONITOR = 2, /**< monitor a (third-party) file */ + STREAMTYPE_NAMED_PIPE = 3 /**< file is a named pipe (so far, tested for output only) */ } strmType_t; typedef enum { /* when extending, do NOT change existing modes! */ |