[syslinux] tftp upload and OACK problem.
Ben Greear
greearb at candelatech.com
Thu Feb 25 10:23:59 PST 2010
On 02/24/2010 06:30 PM, H. Peter Anvin wrote:
> On 02/24/2010 03:49 PM, Ben Greear wrote:
>> Hello!
>>
>> I recently started testing curl's tftp options, and found that it crashed
>> when trying to upload files using tftp because it didn't handle OACK properly.
>>
>> So, I'm attempting to fix it. Now, I have an endless loop: The client (my hacked curl)
>> sends TFTP write request with options,
>> server responds with OACK (tsize, blksize)
>> client sends data packet, block 0
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> The first data packet should be block 1.
That was indeed the problem. I successfully tested my curl
patch after making that fix.
Thanks!
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Syslinux
mailing list