Overview
| Artifact ID: | 237cf5645e8b558ca0e3317095ade6784bd15ef6 |
|---|---|
| Ticket: | 719790ffffffffffffffffffffffffffffffffff
fcopy -command hangs in Win NT4 |
| User & Date: | jcw on 2003-04-11 16:44:28 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
Reported by Mads Linden, for tclkit, but I don't think it's tclkit. To reproduce, run tcllib's ftpd server on Windows, fetch a file > 4 Kb. The transfer does not complete. - server has to be Win32 (running tclkit 8.4.2), Linux works - client is Linux in my case (std ftp cmd) - transfer needs to be over 4 Kb, it seems - may also have to be binary (it is, in my case) - ftpd running on server hangs in line 1200, fcopy with -command - i.e. input is file, output is socket - tclkit 8.4.0 and 8.4.1 reported to work ok Hm, this looks like trouble in fcopy. I changed: fcopy $f $data(sock2) -command [list ::ftpd::GetDone $sock $data(sock2) $f ""] to: fcopy $f $data(sock2) ::ftpd::GetDone $sock $data(sock2) $f "" [tell $f] ($f points to a file) And now, the ftp transfer works. The data appears to come across, but the last part does not flush and it ends up deadlocked. If this is the same problem as reported by Mads Linden, then it works ok on 2k, but not XP. I've only run a test on NT4.
- foundin changed to: "obsolete: 8.4.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jcw"
- subsystem changed to: "25. Channel System"
- title changed to: "fcopy -command hangs in Win NT4"
- type changed to: "Bug"