Re:“Curl Bash piping” wall of shame
by RealityVoid on Saturday October 22, 2016 @05:15AM
(#12767960)
Soo, maybe a silly question... but are downloads from the internet always "linear"? Meaning they go uninterrupted from start to end and if it drops it will stop in the middle of the downloaded file? Doesn't it get "pieces" and then place them together?
[ Parent
| on HN ]
It depends on your download program, but that's irrelevant because of the pipe. It has to be linearized before going through the pipe.
Packets can arrive out of order, yeah. TCP includes ordering information, so lost packets can be retransmitted and in the end everything'll be in proper order.
As for UDP, I'd tell ya a UDP joke, but get it you might not.