diff options
author | y75zhang <yang-mark.zhang@nokia-sbell.com> | 2024-07-03 08:20:34 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-04 22:56:41 +0100 |
commit | 4172c3bdd5a076da6bb125071a8157a0fef28932 (patch) | |
tree | 11e1e195e3e10078b0758e463bf9064b8a99dc06 /meta/recipes-devtools/go/go-cross-canadian_1.22.4.bb | |
parent | 72a9b812c907ca64ae81f6f923aad967536aea25 (diff) | |
download | poky-4172c3bdd5a076da6bb125071a8157a0fef28932.tar.gz |
bitbake: fetch/wget: checkstatus: drop shared connecton when catch Timeout error
* to avoid wrong http response in checkstatus function:
in wget checkstatus() we are using 'HTTPConnectionCache' to share connections
1. state_file1(exists on http server) use shared connection <shared1> to send request
2. http_server recieved request of state_file1, but delayed by some reason to sent respone
3. state_file1 checkstatus() failed by timeout and drop shared connection <shared1>
4. state_file2(not exists on http server) get shared connection <shared1> and send request
5. http_server finally send 200 response for state_file1
6. state_file2 recived 200 response and thought it was exists on http_server
(Bitbake rev: bf6d0282ab88b4edc4b9e58184cd76cce965abbd)
Signed-off-by: y75zhang <yang-mark.zhang@nokia-sbell.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-cross-canadian_1.22.4.bb')
0 files changed, 0 insertions, 0 deletions