Permalink
Switch branches/tags
Nothing to show
Commits on Jun 30, 2016
  1. Merge pull request #24 from gtank/license-fix

    mreiferson committed on GitHub Jun 30, 2016
    add copyright line to LICENSE
  2. add copyright line to LICENSE

    gtank committed Jun 30, 2016
Commits on Oct 14, 2015
  1. Merge pull request #23 from work-jlsun/master

    mreiferson committed Oct 14, 2015
    add feature of set tcp send buffer or receive buffer.
Commits on Jun 7, 2015
  1. Merge pull request #21 from ncw/fix-rw-deadline

    mreiferson committed Jun 7, 2015
    Fix read tcp i/o timeout on PUT operations with persistent connections
  2. Fix read tcp i/o timeout on PUT operations with persistent connections

    ncw committed Jun 7, 2015
    http PUT operations with persistent connections turn out to run a Read
    in parallel with the Write doing the PUT.  Because the Read is
    inactive the read timeout activates and closes the connection even
    though the Write is proceeding just fine.
    
    You can see this code if you look at net/http/transport.go where you
    see in Transport.dialConn
    
    	go pconn.readLoop()
    	go pconn.writeLoop()
    
    Which starts the reader and the writer simultaneously.
    
    The fix for this is for httpclient to use a single deadline for both
    read and write.  This meas that an IO idle timeout will only be caused
    if both read AND write timeout which is probably what the user is
    expecting, rather than if read OR write timeout.
Commits on Apr 25, 2014
  1. Merge pull request #18 from tleyden/patch-1

    mreiferson committed Apr 25, 2014
    Fixes #17 add some docs re client re-use
Commits on Feb 27, 2014
  1. Merge pull request #16 from unihorn/19

    mreiferson committed Feb 27, 2014
    feat: make it have the same public functions as "net/http".Transport
Commits on Feb 26, 2014
  1. feat: make it have the same public functions as "net/http".Transport

    yichengq committed Feb 26, 2014
    So it could be used as a replacement of "net/http".Transport now.
Commits on Feb 18, 2014
  1. Merge pull request #15 from jbardin/TCPConn

    mreiferson committed Feb 18, 2014
    Switch from net.Conn to *net.TCPConn
  2. Switch from net.Conn to *net.TCPConn

    James Bardin committed Feb 18, 2014
    - Switch from an interface to a struct pointer in the rwTimeoutConn
      wrapper. In extreme cases, the interface overhead may be up to 5%
      (though it's probably very close to 0% at normal network speeds).
      Since http is only a TCP protocol, we don't need the net.Conn
      abstraction anyway.
Commits on Feb 5, 2014
  1. Merge pull request #14 from jbardin/master

    mreiferson committed Feb 5, 2014
    Add an IdleTimeout to the Transport
  2. Add an ReadWrite parameter to the Transport

    James Bardin committed Feb 3, 2014
    If there's a ReadWriteTimeout, wrap the net.Conn to set a deadline for all
    Read and Write operations.
Commits on Oct 1, 2013
  1. bump to v0.4.1

    mreiferson committed Oct 1, 2013
  2. Merge pull request #13 from funny-falcon/master

    mreiferson committed Oct 1, 2013
    Fix ResponseHeaderTimeout and use time.Timer instead of custom priority queue
  3. use time.Timer instead of custom priority queue

    funny-falcon committed Oct 1, 2013
    note: custom queue could be faster if rps > 100000.
    It is useless otherwise.
Commits on Aug 16, 2013
Commits on Jun 27, 2013
  1. update README

    mreiferson committed Jun 27, 2013
  2. update docs

    mreiferson committed Jun 27, 2013
Commits on Jun 25, 2013
  1. fix travis

    mreiferson committed Jun 25, 2013
Commits on Jun 15, 2013
  1. update README; add test

    mreiferson committed Jun 15, 2013
Commits on Jun 8, 2013
  1. Merge pull request #11 from mreiferson/go11_11

    mreiferson committed Jun 8, 2013
    refactor for go 1.1
  2. rewrite for go 1.1:

    mreiferson committed Apr 7, 2013
    * cleanup API, no longer need FinishRequest
    * implement priority queue that uses the new CancelRequest API
    * improve travis config
    * update docs
Commits on Mar 25, 2013
  1. Merge pull request #9 from ploxiln/helpers_unusable_9

    mreiferson committed Mar 25, 2013
    Get() and Post() helpers are problematic
Commits on Mar 1, 2013
  1. remove Get() and Post() convenience methods

    Pierce Lopez committed Mar 1, 2013
    it's impossible to call FinishRequest() for requests made with them
Commits on Feb 23, 2013
  1. bump to 0.3.9

    mreiferson committed Feb 23, 2013
  2. Merge pull request #8 from mreiferson/perf

    jehiah committed Feb 23, 2013
    eliminate infinite interface recursion yay
  3. better cleanup in error case

    mreiferson committed Feb 23, 2013
Commits on Feb 22, 2013
  1. Merge pull request #7 from mreiferson/perf_testing_7

    mreiferson committed Feb 22, 2013
    fix connection caching bug
Commits on Jan 22, 2013
  1. Merge pull request #6 from mreiferson/close_fix_6

    mynameisfiber committed Jan 22, 2013
    premature close / read on closed connection