Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unreadDataSizeLocked (0.19 sec)

  1. src/net/http/server.go

    		case *body:
    			bdy.mu.Lock()
    			switch {
    			case bdy.closed:
    				if !bdy.sawEOF {
    					// Body was closed in handler with non-EOF error.
    					w.closeAfterReply = true
    				}
    			case bdy.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
    				tooBig = true
    			default:
    				discard = true
    			}
    			bdy.mu.Unlock()
    		default:
    			discard = true
    		}
    
    		if discard {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top