sunce4t commented on issue #3132:
URL: https://github.com/apache/brpc/issues/3132#issuecomment-3471898147

   > _socket->WakeAsEpollOut()我理解应该两个window更新的时候都要放, 当两个window的最小值超过window 
threshold的时候调用WakeAsEpollOut来通知上层可以继续写了
   
   是的,后面我们也加了一下,还在测试,另外前面那版原本少改了这个:
   ```
   @@ -752,7 +755,7 @@ bool RdmaEndpoint::IsWritable() const {
            return false;
        }
   
   -    return _window_size.load(butil::memory_order_relaxed) > 0;
   +    return _window_size.load(butil::memory_order_relaxed) > 0 && 
_remote_recv_window.load(butil::memory_order_relaxed) > 0;
    }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to