aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bitbake-user-manual/bitbake-user-manual-hello.xml
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-24 16:34:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-26 11:10:26 +0000
commit02845a561b38658ac3edf5cc9c34625ed860d34f (patch)
treedd7d9e3bb0ada4176585c318844335aae694995e /doc/bitbake-user-manual/bitbake-user-manual-hello.xml
parentd5b0a9a302ac0eafa4f797ac15ea77db87e82b3c (diff)
downloadbitbake-contrib-02845a561b38658ac3edf5cc9c34625ed860d34f.tar.gz
process: Rewrite multiple connection handling
If the bitbake server recieved multiple connections, it currently closes ones it can't handle (while its dealing with another). This is rather antisocial behaviour which causes clients to quickly run through their retries and abort. Instead, queue any other connections until the current one is closed. This way the client can decide when it wants to stop waiting for the server. If the client is gone by the time we handle it, we handle that gracefully. This also fixes a number of bugs in the connection handling where connections which did drop early were badly handled causing tracebacks in the logs. Also, handle queue incomming connections in a loop to ensure that the main client handling doesn't starve that piece of the system. This code was stress tested by running 50 connection attempts in parallel at once, ensuring the code correctly handled them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc/bitbake-user-manual/bitbake-user-manual-hello.xml')
0 files changed, 0 insertions, 0 deletions