"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/proto/stream_interface.h" between
haproxy-2.0.8.tar.gz and haproxy-2.0.9.tar.gz

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

stream_interface.h  (haproxy-2.0.8):stream_interface.h  (haproxy-2.0.9)
skipping to change at line 523 skipping to change at line 523
if (ret != SF_ERR_NONE) if (ret != SF_ERR_NONE)
return ret; return ret;
/* we're in the process of establishing a connection */ /* we're in the process of establishing a connection */
si->state = SI_ST_CON; si->state = SI_ST_CON;
} }
else { else {
/* try to reuse the existing connection, it will be /* try to reuse the existing connection, it will be
* confirmed once we can send on it. * confirmed once we can send on it.
*/ */
si->state = SI_ST_RDY; /* Is the connection really ready ? */
if (conn->mux->ctl(conn, MUX_STATUS, NULL) & MUX_STATUS_READY)
si->state = SI_ST_RDY;
else
si->state = SI_ST_CON;
} }
/* needs src ip/port for logging */ /* needs src ip/port for logging */
if (si->flags & SI_FL_SRC_ADDR) if (si->flags & SI_FL_SRC_ADDR)
conn_get_from_addr(conn); conn_get_from_addr(conn);
return ret; return ret;
} }
/* Combines both si_update_rx() and si_update_tx() at once */ /* Combines both si_update_rx() and si_update_tx() at once */
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

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