4 ms·
How would it become truncated?
by rascul 4y ago
How would it become truncated?
- bqmjjx0kac 4y agoA cat unplugs the router?
- layer8 4y agoWhen a dog does it, would it be trundoged instead?
- deleted 4y ago[deleted]
- fathyb 4y agoIn the case of curl it can happen if the server did not use Content-Length and the connection gets closed.
- Arnavion 4y agoAll the presence of the content-length header would do is change curl's exit code when the connection breaks. The part where curl output the truncated script and bash executed it would be unchanged.
- Arnavion 4y agoThe whole context of this conversation is >If the connection fails for any reason, the script will stop, potentially breaking or corrupting things.