Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
globalheaders: apply header only when the packet is correct
  • Loading branch information
perexg committed Aug 13, 2016
1 parent dc51bba commit 258c913
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plumbing/globalheaders.c
Expand Up @@ -297,7 +297,8 @@ gh_hold(globalheaders_t *gh, streaming_message_t *sm)

pkt_ref_inc(pkt);

apply_header(ssc, pkt);
if (pkt->pkt_err == 0)
apply_header(ssc, pkt);

pktref_enqueue(&gh->gh_holdq, pkt);

Expand Down

0 comments on commit 258c913

Please sign in to comment.