return 0;
}
- if (unlikely(b_contig_data(dbuf, 0) < fconn->drl)) {
- /* Realign the dmux buffer if the record wraps. It is unexpected
- * at this stage because it should be the first record received
- * from the FCGI application.
- */
+ if (unlikely(b_contig_data(dbuf, 0) < fconn->drl))
b_slow_realign_ofs(dbuf, trash.area, 0);
- }
inbuf = b_make(b_head(dbuf), b_data(dbuf), 0, fconn->drl);
if (unlikely(b_contig_data(dbuf, 0) < spop_conn->dfl)) {
/* Realign the dmux buffer if the frame wraps. It is unexpected
* at this stage because it should be the first record received
- * from the FCGI application.
+ * from the SPOA.
*/
b_slow_realign_ofs(dbuf, trash.area, 0);
}
return 0;
}
- if (unlikely(b_contig_data(dbuf, 0) < spop_conn->dfl)) {
- /* Realign the dmux buffer if the frame wraps. It is unexpected
- * at this stage because it should be the first record received
- * from the FCGI application.
- */
+ if (unlikely(b_contig_data(dbuf, 0) < spop_conn->dfl))
b_slow_realign_ofs(dbuf, trash.area, 0);
- }
p = b_head(dbuf);
end = p + spop_conn->dfl;
return 0;
}
- if (unlikely(b_contig_data(dbuf, 0) < spop_conn->dfl)) {
- /* Realign the dmux buffer if the frame wraps. It is unexpected
- * at this stage because it should be the first record received
- * from the FCGI application.
- */
+ if (unlikely(b_contig_data(dbuf, 0) < spop_conn->dfl))
b_slow_realign_ofs(dbuf, trash.area, 0);
- }
spop_conn->flags &= ~SPOP_CF_DEM_SFULL;
rxbuf = spop_get_buf(spop_conn, &spop_strm->rxbuf);