"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/proxy.c" between
haproxy-1.9.3.tar.gz and haproxy-1.9.4.tar.gz

About: HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments.

proxy.c  (haproxy-1.9.3):proxy.c  (haproxy-1.9.4)
skipping to change at line 1322 skipping to change at line 1322
return 1; return 1;
if (flt_set_stream_backend(s, be) < 0) if (flt_set_stream_backend(s, be) < 0)
return 0; return 0;
s->be = be; s->be = be;
HA_ATOMIC_UPDATE_MAX(&be->be_counters.conn_max, HA_ATOMIC_UPDATE_MAX(&be->be_counters.conn_max,
HA_ATOMIC_ADD(&be->beconn, 1)); HA_ATOMIC_ADD(&be->beconn, 1));
proxy_inc_be_ctr(be); proxy_inc_be_ctr(be);
/* HTX/legacy must match */
if ((s->sess->fe->options2 ^ be->options2) & PR_O2_USE_HTX)
return 0;
/* assign new parameters to the stream from the new backend */ /* assign new parameters to the stream from the new backend */
s->si[1].flags &= ~SI_FL_INDEP_STR; s->si[1].flags &= ~SI_FL_INDEP_STR;
if (be->options2 & PR_O2_INDEPSTR) if (be->options2 & PR_O2_INDEPSTR)
s->si[1].flags |= SI_FL_INDEP_STR; s->si[1].flags |= SI_FL_INDEP_STR;
if (tick_isset(be->timeout.serverfin)) if (tick_isset(be->timeout.serverfin))
s->si[1].hcto = be->timeout.serverfin; s->si[1].hcto = be->timeout.serverfin;
/* We want to enable the backend-specific analysers except those which /* We want to enable the backend-specific analysers except those which
* were already run as part of the frontend/listener. Note that it would * were already run as part of the frontend/listener. Note that it would
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

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