diff options
author | brapru <brapru@pm.me> | 2021-08-12 11:28:19 -0400 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-08-13 20:30:19 +0430 |
commit | d456af1cd311ab4895778bc138e6a7d9bac4a897 (patch) | |
tree | 0404217b85a22f04f2afe9edc546cf27669507c9 /Meta/new-project.sh | |
parent | 6743170f4ef8ac1ece0985fe400e51dc3ece5ef5 (diff) | |
download | serenity-d456af1cd311ab4895778bc138e6a7d9bac4a897.zip |
LibCore+LibHTTP: Check the status of the socket after EINPROGRESS
Previously the system would assume the socket was connected after the
file descriptor became writeable. Just because the fd is signaled as
ready for output does not necessarily indicate the socket is connected.
Instead, we should check the status of the socket with SO_ERROR and
handle successes/errors accordingly.
Diffstat (limited to 'Meta/new-project.sh')
0 files changed, 0 insertions, 0 deletions