cvs commit: src/lib/libfetch http.c

Kelly Yancey kbyanc at FreeBSD.org
Wed Mar 2 19:09:29 GMT 2005


kbyanc      2005-03-02 19:09:28 UTC

  FreeBSD src repository

  Modified files:
    lib/libfetch         http.c 
  Log:
  Set the TCP_NODELAY socket option and clear TCP_NOPUSH in order to flush
  any pending HTTP request rather than calling shutdown(2) with SHUT_WR.
  This makes libfetch (and thus fetch(1)) work again with Squid proxies
  configured to not allow half-closed connections.
  
  Reported by:    Pawel Worach (pawel.worach AT telia DOT com)
  
  Revision  Changes    Path
  1.76      +15 -2     src/lib/libfetch/http.c


More information about the cvs-src mailing list