Opened 12 years ago

Closed 12 years ago

#1237 closed bug (duplicate)

ftp only downloads filess smaller than 1447 bytes. Sometimes appears 'hung' on larger files.

Reported by: bouncer Owned by: zooey
Priority: normal Milestone: R1
Component: Network & Internet/IPv4 Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


1) Start Haiku. 2) Connect to a BeOS machine via 'ftp'

(BTW - Thanks Hugo, for fixing the vm_page_fault problem).

3) Attempt to 'get' a file.

Particular details. a) First attempt was to fetch a file of approx. 5000 byes in size.

The ftp just sat there. I could see the cursor block give a pulse every second. But there was no acvitiy.

b) Something (I don't know what) caused ftp to break out of that with an

'interrupted system call' message. But 'ftp' did not die. I got the prompt back.

c) I kept trying to download various files. After some experimentation

I determined that ftp had the following behaviour.

  • Files less than or equal to 1446 bytes in size would download successfully.
  • Files greater than 1446 bytes but not too large ( less than 2000 ??? ) in size would not download. But would not 'hang' the ftp either.

o Ftp 'get' returned immediatly - with 0 bytes transferred. o A File of 0 bytes will have been created.

  • Files of a large size (eg: 5000 bytes) would 'hang' the ftp operation. The 'get' operation never came back. A 'control-C' would however get the ftp cursor back again.

If not too large (eg: 1447 - 3000 ? ) the ftp would just return without having obtained the file

Hardware: This bug occured on real hardware. Using the e1000 network driver. The code compiled was at revision 21179.

Please see the attached file.

Change History (1)

comment:1 Changed 12 years ago by jackburton

Resolution: duplicate
Status: newclosed

dup of #1238

Note: See TracTickets for help on using tickets.