Mikolaj Golub d685f88bee In remote_send_thread, if sending a request fails don't take the
request back from the receive queue -- it might already be processed
by remote_recv_thread, which lead to crashes like below:

  (primary) Unable to receive reply header: Connection reset by peer.
  (primary) Unable to send request (Connection reset by peer):
      WRITE(954662912, 131072).
  (primary) Disconnected from kopusha:7772.
  (primary) Increasing localcnt to 1.
  (primary) Assertion failed: (old > 0), function refcnt_release,
      file refcnt.h, line 62.

Taking the request back was not necessary (it would properly be
processed by the remote_recv_thread) and only complicated things.

MFC after:	2 weeks
2013-12-10 20:05:07 +00:00
..
2012-01-07 16:09:33 +00:00
2012-01-07 16:09:33 +00:00
2013-11-03 19:02:18 +00:00
2012-01-07 16:09:33 +00:00
2013-12-10 20:02:09 +00:00
2012-07-01 16:26:07 +00:00
2013-12-10 20:02:09 +00:00
2012-02-11 16:41:52 +00:00
2013-06-29 20:13:39 +00:00
2012-01-06 12:27:17 +00:00
2012-06-11 20:27:52 +00:00