diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-11-30 15:10:36 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-11-30 15:10:36 +0100 |
commit | a55511ea75003f5ca79a25f6e64eadf91b6dfe9f (patch) | |
tree | 5286de4b4de2af6a4f32a39e0a1e3482116f390d /src/libwaitress/waitress.h | |
parent | 12f132dd220027ee2075572d7271a5b13cfa4cbe (diff) | |
download | pianobar-a55511ea75003f5ca79a25f6e64eadf91b6dfe9f.tar.gz pianobar-a55511ea75003f5ca79a25f6e64eadf91b6dfe9f.tar.bz2 pianobar-a55511ea75003f5ca79a25f6e64eadf91b6dfe9f.zip |
waitress: Fix chunked decoder
Closes #322.
Diffstat (limited to 'src/libwaitress/waitress.h')
-rw-r--r-- | src/libwaitress/waitress.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libwaitress/waitress.h b/src/libwaitress/waitress.h index 0d69f0e..da516bb 100644 --- a/src/libwaitress/waitress.h +++ b/src/libwaitress/waitress.h @@ -107,6 +107,7 @@ typedef struct { WaitressReturn_t readWriteRet; size_t contentLength, contentReceived, chunkSize; + enum {CHUNKSIZE = 0, DATA = 1} chunkedState; char *buf; /* first argument is WaitressHandle_t, but that's not defined yet */ |