"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/proto_tcp.c" between
haproxy-2.0.13.tar.gz and haproxy-2.0.14.tar.gz

About: HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. LTS (Long-Term Support) release.

proto_tcp.c  (haproxy-2.0.13):proto_tcp.c  (haproxy-2.0.14)
skipping to change at line 1350 skipping to change at line 1350
* network and has no effect on local net. * network and has no effect on local net.
*/ */
#ifdef IP_TTL #ifdef IP_TTL
setsockopt(conn->handle.fd, SOL_IP, IP_TTL, &one, sizeof(one)); setsockopt(conn->handle.fd, SOL_IP, IP_TTL, &one, sizeof(one));
#endif #endif
out: out:
/* kill the stream if any */ /* kill the stream if any */
if (strm) { if (strm) {
channel_abort(&strm->req); channel_abort(&strm->req);
channel_abort(&strm->res); channel_abort(&strm->res);
strm->req.analysers = 0; strm->req.analysers &= AN_REQ_FLT_END;
strm->res.analysers = 0; strm->res.analysers &= AN_RES_FLT_END;
_HA_ATOMIC_ADD(&strm->be->be_counters.denied_req, 1); if (strm->flags & SF_BE_ASSIGNED)
_HA_ATOMIC_ADD(&strm->be->be_counters.denied_req, 1);
if (!(strm->flags & SF_ERR_MASK)) if (!(strm->flags & SF_ERR_MASK))
strm->flags |= SF_ERR_PRXCOND; strm->flags |= SF_ERR_PRXCOND;
if (!(strm->flags & SF_FINST_MASK)) if (!(strm->flags & SF_FINST_MASK))
strm->flags |= SF_FINST_R; strm->flags |= SF_FINST_R;
} }
_HA_ATOMIC_ADD(&sess->fe->fe_counters.denied_req, 1); _HA_ATOMIC_ADD(&sess->fe->fe_counters.denied_req, 1);
if (sess->listener->counters) if (sess->listener->counters)
_HA_ATOMIC_ADD(&sess->listener->counters->denied_req, 1); _HA_ATOMIC_ADD(&sess->listener->counters->denied_req, 1);
 End of changes. 1 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)