Skip to content
Closed
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
4 changes: 3 additions & 1 deletion proxy/hdrs/HdrTSOnly.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ HTTPHdr::parse_req(HTTPParser *parser, IOBufferReader *r, int *bytes_used, bool
do {
int64_t b_avail = r->block_read_avail();

if (b_avail <= 0 && eof == false) {
//NO POINT IN PARSING THE RESPONSE IF CURRENT BLOCK IS NULL
if (r->get_current_block() == NULL || (b_avail <= 0 && eof == false)) {
break;
}

Expand Down Expand Up @@ -161,6 +162,7 @@ int
HdrHeap::attach_block(IOBufferBlock *b, const char *use_start)
{
ink_assert(m_writeable);
ink_assert(b != NULL);

RETRY:

Expand Down