[Tile-serving] [openstreetmap/mod_tile] ensure that partial reads from recv don't trip up rendering (PR #469)
Frederik Ramm
notifications at github.com
Sat Oct 19 11:52:04 UTC 2024
It is not guaranteed that recv will always return the number of bytes you have asked for; it can return fewer bytes which should not be treated as an error. This is a rare issue but I have actually encountered it on a (virtualised) system. Review requested though - unsure if I have the logic watertight.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/mod_tile/pull/469
-- Commit Summary --
* ensure that partial reads from recv don't trip up rendering
-- File Changes --
M src/mod_tile.c (58)
-- Patch Links --
https://github.com/openstreetmap/mod_tile/pull/469.patch
https://github.com/openstreetmap/mod_tile/pull/469.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/469
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/mod_tile/pull/469 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20241019/e7c8c54b/attachment.htm>
More information about the Tile-serving
mailing list