On Thursday 28 May 2015 10:26:41 Giuseppe Scrivano wrote: > Hubert Tarasiuk <[email protected]> writes: > > I have talked with Giuseppe and he suggested that we might not do TCP > > Fast Open support for FTP at this time (he argued that FTP is slow > > either way :). > > > > Instead I might focus on implementing some basics of Metalink protocol > > for HTTP and FTP resources in Wget. > > > > Do you have any thoughts about that? > > I wouldn't even have an option for --tcp-fast-open and avoid adding such > low level details to the command line. I would rather go for an env > variable like TCP_FAST_OPEN=1, that wget might honor or not and not > worry where it is not supported. > > What do you think?
I would prefer a variable for wgetrc (and thus a command line option). Having some switches in wgetrc and some within environment variables is not consistent and (at least for me) hardly maintainable / hard to remember. I would leave away the configure option --enable-tcp-tfo. Instead just use the constants defined in <sys/socket.h>, as Hubert already does. Regards, Tim
