Skip to content
Snippets Groups Projects
  • Serj Kalichev's avatar
    edeabf74
    TFTP: Fix upload problem with piped input · edeabf74
    Serj Kalichev authored
    When input stream for curl is stdin and input stream is not a file but
    generated by a script then curl can truncate data transfer to arbitrary
    size since a partial packet is treated as end of transfer by TFTP.
    
    Fixes #857
    edeabf74
    History
    TFTP: Fix upload problem with piped input
    Serj Kalichev authored
    When input stream for curl is stdin and input stream is not a file but
    generated by a script then curl can truncate data transfer to arbitrary
    size since a partial packet is treated as end of transfer by TFTP.
    
    Fixes #857