Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for httpTrace (0.05 sec)

  1. internal/rest/rpc-stats.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package rest
    
    import (
    	"net/http"
    	"net/http/httptrace"
    	"sync/atomic"
    	"time"
    )
    
    var globalStats = struct {
    	errs uint64
    
    	tcpDialErrs                 uint64
    	tcpDialCount                uint64
    	tcpDialTotalDur             uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 18:21:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    		tc.ResponseRecorder.LogErrBody = true
    
    		f.ServeHTTP(w, r)
    	}
    }
    
    func httpTraceAll(f http.HandlerFunc) http.HandlerFunc {
    	return httpTrace(f, true)
    }
    
    func httpTraceHdrs(f http.HandlerFunc) http.HandlerFunc {
    	return httpTrace(f, false)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/net/http/65035.md

    receiving more than 5 1xx responses.
    It now returns an error if the total size of all 1xx responses
    exceeds the [Transport.MaxResponseHeaderBytes] configuration setting.
    
    In addition, when a request has a
    [net/http/httptrace.ClientTrace.Got1xxResponse]
    trace hook, there is now no limit on the total number of 1xx responses.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 03:22:33 UTC 2024
    - 549 bytes
    - Viewed (0)
Back to top