commit | 2433c66e673b63109affe6dad5c164a57f43d3cd | [log] [tgz] |
---|---|---|
author | Eugene Tarassov <eugenet@xilinx.com> | Wed Aug 22 21:50:42 2018 -0700 |
committer | Eugene Tarassov <eugenet@xilinx.com> | Wed Aug 22 21:50:42 2018 -0700 |
tree | 572b1672f0681be1ea02f116e8e4e4162733bb5a | |
parent | e815a52ea3ece2d2546ef15888197e0c059e8ac4 [diff] |
TCF Agent: fixed regression in HTTP server code
diff --git a/agent/tcf/http/http.c b/agent/tcf/http/http.c index 03d03f5..ea415da 100644 --- a/agent/tcf/http/http.c +++ b/agent/tcf/http/http.c
@@ -436,7 +436,7 @@ if (con->page_hdrs) { HttpParam * h = con->page_hdrs; while (h != NULL) { - if (strcmp(h->name, "Content-Type")) { + if (strcmp(h->name, "Content-Type") == 0) { con->sse = strcmp(h->value, "text/event-stream") == 0; content_type = 1; }