Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion test/integration/fake_upstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ class FakeStream : public Http::StreamDecoder,

uint64_t bodyLength() { return body_.length(); }
Buffer::Instance& body() { return body_; }
bool complete() { return end_stream_; }
bool complete() {
Thread::LockGuard lock(lock_);
return end_stream_;
}
void encode100ContinueHeaders(const Http::HeaderMapImpl& headers);
void encodeHeaders(const Http::HeaderMapImpl& headers, bool end_stream);
void encodeData(uint64_t size, bool end_stream);
Expand Down