mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-31 16:04:27 +02:00
#4147: missing \r\n when setting trailer header in chunked response
This commit is contained in:
parent
58af2ebc46
commit
1b95d53804
@ -59,10 +59,7 @@ void HTTPChunkedStreamBuf::close()
|
||||
HTTPOutputStream hos(_session);
|
||||
_pTrailer->write(hos);
|
||||
}
|
||||
else
|
||||
{
|
||||
_session.write("\r\n", 2);
|
||||
}
|
||||
_session.write("\r\n", 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user