You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what I actually wanted to test when I ran into #19. The following is tested with my hack/patch from #19 (comment) to make async request sending actually work with partial writes.
This is the same example as in #19, but extended with a timeout. You might have to "play" a bit with the timeout value to make this break.
The idea is to send a big request with a timeout. The timeout should fire "in the middle" of request sending, so that the request was only sent partially. Since the timeout causes the request sending future to be just dropped, nothing can send the rest of the request. Thus, the partial write is never resolved and the X11 server cannot figure out where the next request begins (since it still expects more data from the last request).
This is what I actually wanted to test when I ran into #19. The following is tested with my hack/patch from #19 (comment) to make async request sending actually work with partial writes.
This is the same example as in #19, but extended with a timeout. You might have to "play" a bit with the timeout value to make this break.
The idea is to send a big request with a timeout. The timeout should fire "in the middle" of request sending, so that the request was only sent partially. Since the timeout causes the request sending future to be just dropped, nothing can send the rest of the request. Thus, the partial write is never resolved and the X11 server cannot figure out where the next request begins (since it still expects more data from the last request).
Under
xtrace
(and built with--release
) this shows symptoms of the problem I described above:When changing the value of
MEMORY
from 0 to 42, xtrace suddenly sees lots and lots ofSetInputFocus
requests.The text was updated successfully, but these errors were encountered: