-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't fail in gz_load() if read would block #993
base: develop
Are you sure you want to change the base?
Commits on Jul 18, 2024
-
Don't fail in gz_load() if read would block
I.e. when [errno] is EAGAIN or EWOULDBLOCK) E.g. if file descriptor is a non-blocking TCP socket, and more data are expected. This might cause a problem if compressed bytes are read but do not generate an uncompressed byte, because the return value will be 0, which usually indicates EOF.
Brian T. Carcich authored and Brian T. Carcich committedJul 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 3e31e7b - Browse repository at this point
Copy the full SHA 3e31e7bView commit details
Commits on Jul 20, 2024
-
Handle EWOULDBLOCK/EAGAIN in gz_load() call from gz_read
Brian T. Carcich authored and Brian T. Carcich committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for f16f656 - Browse repository at this point
Copy the full SHA f16f656View commit details -
More handling of EWOULDBLOCK/EAGAIN results in calls from gz_read
Brian T. Carcich authored and Brian T. Carcich committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for adb2b5b - Browse repository at this point
Copy the full SHA adb2b5bView commit details
Commits on Jul 21, 2024
-
In gz_read(), do not introduce blocked read state after gz_fetch() un…
…til data are transferred to buffer argument
Brian T. Carcich authored and Brian T. Carcich committedJul 21, 2024 Configuration menu - View commit details
-
Copy full SHA for 6e8ddfd - Browse repository at this point
Copy the full SHA 6e8ddfdView commit details
Commits on Jul 23, 2024
-
Add non-blocking socket test code; first draft, no formal test yet
Brian T. Carcich authored and Brian T. Carcich committedJul 23, 2024 Configuration menu - View commit details
-
Copy full SHA for 3ddf538 - Browse repository at this point
Copy the full SHA 3ddf538View commit details -
Brian T. Carcich authored and Brian T. Carcich committed
Jul 23, 2024 Configuration menu - View commit details
-
Copy full SHA for 12eca61 - Browse repository at this point
Copy the full SHA 12eca61View commit details -
Brian T. Carcich authored and Brian T. Carcich committed
Jul 23, 2024 Configuration menu - View commit details
-
Copy full SHA for 1cf7557 - Browse repository at this point
Copy the full SHA 1cf7557View commit details -
Add fork of client by server in test/gznonblk.c; not done yet
Brian T. Carcich authored and Brian T. Carcich committedJul 23, 2024 Configuration menu - View commit details
-
Copy full SHA for d781605 - Browse repository at this point
Copy the full SHA d781605View commit details -
Remove [int s]; use '-stopserver-' to stop server
Brian T. Carcich authored and Brian T. Carcich committedJul 23, 2024 Configuration menu - View commit details
-
Copy full SHA for 73b57d4 - Browse repository at this point
Copy the full SHA 73b57d4View commit details -
Fix post-fork(2) bug; clean up comments
Brian T. Carcich authored and Brian T. Carcich committedJul 23, 2024 Configuration menu - View commit details
-
Copy full SHA for a9f3755 - Browse repository at this point
Copy the full SHA a9f3755View commit details
Commits on Jul 24, 2024
-
test/gznonblk.c now working, server spawns client and reports exit st…
…atus of client and server suitable for automated testing (make test...)
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for ea6e677 - Browse repository at this point
Copy the full SHA ea6e677View commit details -
Update Makefile.in to run test of gznonblk
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for f6a01bb - Browse repository at this point
Copy the full SHA f6a01bbView commit details -
Brian T. Carcich authored and Brian T. Carcich committed
Jul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for 880c261 - Browse repository at this point
Copy the full SHA 880c261View commit details -
Add dependencies for gznonblk* to Makefile.in
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for 6366659 - Browse repository at this point
Copy the full SHA 6366659View commit details -
Move testgznonblk dependency to the right place in Makefile.in
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for 5c75fcb - Browse repository at this point
Copy the full SHA 5c75fcbView commit details -
test/gznonblk.c: add more comments, rearrange logging
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for 5ab0725 - Browse repository at this point
Copy the full SHA 5ab0725View commit details -
Brian T. Carcich authored and Brian T. Carcich committed
Jul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for 511989d - Browse repository at this point
Copy the full SHA 511989dView commit details -
Add usage options (--help[-long]) to test/gznonblk.c
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for 970385d - Browse repository at this point
Copy the full SHA 970385dView commit details -
Clean up test/gznonblk.c Usage
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for 903c3ab - Browse repository at this point
Copy the full SHA 903c3abView commit details -
test/gznonblk.c: add header comments
Brian T. Carcich authored and Brian T. Carcich committedJul 24, 2024 Configuration menu - View commit details
-
Copy full SHA for c6152bb - Browse repository at this point
Copy the full SHA c6152bbView commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for df4df93 - Browse repository at this point
Copy the full SHA df4df93View commit details