golang.org/x/pkgsite/internal/middleware.cacheRecorder.bufErr (field)

6 uses

	golang.org/x/pkgsite/internal/middleware (current package)
		caching.go#L154: 	if rec.bufErr == nil && (rec.statusCode == 0 || rec.statusCode == http.StatusOK) {
		caching.go#L219: 	bufErr    error
		caching.go#L227: 	if r.bufErr == nil {
		caching.go#L231: 				r.bufErr = bufErr
		caching.go#L234: 				r.bufErr = fmt.Errorf("wrote %d to zip, but wanted %d", zn, n)
		caching.go#L237: 			r.bufErr = fmt.Errorf("ResponseWriter.Write failed: %v", err)