diff options
author | Håvard Pettersen <havardpe@oath.com> | 2018-08-28 12:58:33 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2018-08-28 12:58:33 +0000 |
commit | 3d67de8d8e3bfbcfd16abac27cf8f2b33a3303bc (patch) | |
tree | 6183bd892aa6240e1643ac8662d6e4929d30a99f /fnet | |
parent | 8c943e0067c9d117c6cc1557f2bd2dc12a001431 (diff) |
fixes based on feedback
- do not check broken flag when doing flush
- use auto-detection of guard template parameter
Diffstat (limited to 'fnet')
-rw-r--r-- | fnet/src/vespa/fnet/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fnet/src/vespa/fnet/connection.cpp b/fnet/src/vespa/fnet/connection.cpp index a5f0b427a23..11856759165 100644 --- a/fnet/src/vespa/fnet/connection.cpp +++ b/fnet/src/vespa/fnet/connection.cpp @@ -390,7 +390,7 @@ FNET_Connection::Write(bool direct) ++my_write_work; } - if ((res >= 0) && !broken) { // flush output pipeline + if (res >= 0) { // flush output pipeline res = _socket->flush(); while (res > 0) { res = _socket->flush(); |