[OpenSIPS-Devel] [OpenSIPS/opensips] 6b0302: TCP engine: Fix incorrect returned bytes on async ...
Liviu Chircu
liviu at opensips.org
Fri Jun 23 11:16:32 EDT 2017
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 6b03023d24b6096ddf61d3b2f2680b169f3ea98b
https://github.com/OpenSIPS/opensips/commit/6b03023d24b6096ddf61d3b2f2680b169f3ea98b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2017-06-23 (Fri, 23 Jun 2017)
Changed paths:
M modules/proto_bin/proto_bin.c
M modules/proto_hep/proto_hep.c
M net/proto_tcp/proto_tcp.c
Log Message:
-----------
TCP engine: Fix incorrect returned bytes on async writes
This isn't actually as bad of a bug as it would seem. By occasionally
reporting _less_ written bytes than normal, the TCP write flow may trigger
some false async write requests to TCP MAIN. The connection will
eventually end up in a writer which simply sends it back, as it does not
contain any chunks which require writing.
More information about the Devel
mailing list