CLEANUP: connection: Remove CS_FL_READ_PARTIAL flag
Since the recent refactoring of the H1 multiplexer, this flag is no more used. Thus it is removed.
This commit is contained in:
parent
da831fa068
commit
6ad06066cd
|
@ -180,7 +180,6 @@ void show_cs_flags(unsigned int f)
|
|||
printf("0\n");
|
||||
return;
|
||||
}
|
||||
SHOW_FLAG(f, CS_FL_READ_PARTIAL);
|
||||
SHOW_FLAG(f, CS_FL_NOT_FIRST);
|
||||
SHOW_FLAG(f, CS_FL_KILL_CONN);
|
||||
SHOW_FLAG(f, CS_FL_WAIT_FOR_HS);
|
||||
|
|
|
@ -81,7 +81,6 @@ enum {
|
|||
* the stream-interface :
|
||||
*/
|
||||
CS_FL_NOT_FIRST = 0x00100000, /* this stream is not the first one */
|
||||
CS_FL_READ_PARTIAL = 0x00200000, /* some data were received (not necessarily xferred) */
|
||||
};
|
||||
|
||||
/* cs_shutr() modes */
|
||||
|
|
|
@ -1346,12 +1346,6 @@ int si_cs_recv(struct conn_stream *cs)
|
|||
if (cs->flags & CS_FL_WANT_ROOM)
|
||||
si_rx_room_blk(si);
|
||||
|
||||
if (cs->flags & CS_FL_READ_PARTIAL) {
|
||||
if (tick_isset(ic->rex))
|
||||
ic->rex = tick_add_ifset(now_ms, ic->rto);
|
||||
cs->flags &= ~CS_FL_READ_PARTIAL;
|
||||
}
|
||||
|
||||
if (ret <= 0) {
|
||||
/* if we refrained from reading because we asked for a
|
||||
* flush to satisfy rcv_pipe(), we must not subscribe
|
||||
|
|
Loading…
Reference in New Issue