public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problems when aborting tftp transfers
@ 2004-07-21 10:52 Øyvind Harboe
  2004-08-02 13:01 ` Andrew Lunn
  0 siblings, 1 reply; 15+ messages in thread
From: Øyvind Harboe @ 2004-07-21 10:52 UTC (permalink / raw)
  To: ecos-discuss

I'm seing problems when aborting tftp transfers:

- With CYGSEM_NET_TFTPD_MULTITHREADED == 0, a subsequent tftp transfer
after an aborted tftp transfer can get "stuck" since the main tftp
server loop is receiving stale packets and hence e.g. _write_file() is
invoked for the terminated tftp transfer session(there can be as many as
a dozen outstanding stale packets, hence tftp can take a *really* long
time to return to normal operation). Q: Is
CYGSEM_NET_TFTPD_MULTITHREADED == 0 working as intended for aborted tftp
transfers?

- I'm not sure this is a problem or just the way tftp works. When I set
CYGSEM_NET_TFTPD_MULTITHREADED==1, tftp works even if I abort transfers,
but the current tftp transfer session on the eCos end does not return to
the main tftp server loop until the current transfer session has
exhausted its retries. 


-- 
Øyvind Harboe
http://www.zylin.com



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-08-03 15:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-21 10:52 [ECOS] Problems when aborting tftp transfers Øyvind Harboe
2004-08-02 13:01 ` Andrew Lunn
2004-08-02 13:45   ` Øyvind Harboe
2004-08-02 14:02     ` Andrew Lunn
2004-08-02 14:14       ` Øyvind Harboe
2004-08-02 14:27         ` Andrew Lunn
2004-08-02 14:49           ` [ECOS] Question on wigglers, debugging Redboot in flash for the XScale target in single step mode Krishna Ganugapati
2004-08-02 14:59             ` Gary Thomas
2004-08-02 15:15               ` [ECOS] Question on wigglers, debugging Redboot in flash forthe " Krishna Ganugapati
2004-08-02 15:21                 ` Gary Thomas
2004-08-02 16:51                   ` [ECOS] Question on wigglers, debugging Redboot in flash fortheXScale " Krishna Ganugapati
2004-08-03 15:59                   ` Krishna Ganugapati
2004-08-03  6:40       ` [ECOS] Problems when aborting tftp transfers Øyvind Harboe
2004-08-03  9:49         ` Andrew Lunn
2004-08-03  9:56           ` Øyvind Harboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).