@supraio/client-daemon-js 0.0.1-master.4 → 0.0.1-master.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/supra-client-daemon.js +431 -356
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +439 -364
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
- package/wasm_exec.js +7 -0
package/supra-client-screen.js
CHANGED
|
@@ -114931,7 +114931,7 @@ $packages["vendor/golang.org/x/net/http2/hpack"] = (function() {
|
|
|
114931
114931
|
return $pkg;
|
|
114932
114932
|
})();
|
|
114933
114933
|
$packages["net/http"] = (function() {
|
|
114934
|
-
var $pkg = {}, $init, bufio, bytes, gzip, list, context, rand, tls, base64, binary, errors, fmt, io, fs, ioutil, log, math, rand$1, mime, multipart, net, httptrace, internal, textproto, url, os, path, filepath, reflect, runtime, sort, strconv, strings, sync, atomic, js, time, utf8, httpguts, httpproxy, hpack, idna, Cookie, SameSite, http2dataBuffer, http2ErrCode, http2ConnectionError, http2StreamError, http2goAwayFlowError, http2connError, http2pseudoHeaderError, http2duplicatePseudoHeaderError, http2headerFieldNameError, http2headerFieldValueError, http2flow, http2FrameType, http2Flags, http2FrameHeader, http2Frame, http2Framer, http2frameCache, http2DataFrame, http2SettingsFrame, http2PingFrame, http2GoAwayFrame, http2UnknownFrame, http2WindowUpdateFrame, http2HeadersFrame, http2HeadersFrameParam, http2PriorityFrame, http2PriorityParam, http2RSTStreamFrame, http2ContinuationFrame, http2PushPromiseFrame, http2PushPromiseParam, http2MetaHeadersFrame, http2goroutineLock, http2streamState, http2Setting, http2SettingID, http2gate, http2closeWaiter, http2bufferedWriter, http2connectionStater, http2sorter, http2incomparable, http2pipe, http2pipeBuffer, http2Server, http2serverInternalState, http2ServeConnOpts, http2serverConn, http2stream, http2readFrameResult, http2frameWriteResult, http2serverMessage, http2requestParam, http2bodyReadMsg, http2requestBody, http2responseWriter, http2responseWriterState, http2chunkWriter, http2startPushRequest, http2writeFramer, http2writeContext, http2flushFrameWriter, http2writeSettings, http2writeGoAway, http2writeData, http2handlerPanicRST, http2writePingAck, http2writeSettingsAck, http2writeResHeaders, http2writePushPromise, http2write100ContinueHeadersFrame, http2writeWindowUpdate, http2WriteScheduler, http2OpenStreamOptions, http2FrameWriteRequest, http2writeQueue, http2writeQueuePool, http2PriorityWriteSchedulerConfig, http2priorityNodeState, http2priorityNode, http2sortPriorityNodeSiblings, http2priorityWriteScheduler, http2randomWriteScheduler, Header, stringWriter, keyValues, headerSorter, incomparable, contextKey, noBody, PushOptions, ProtocolError, Request, requestBodyReadError, maxBytesReader, Response, Handler, ResponseWriter, conn, chunkWriter, response, atomicBool, writerOnly, readResult, connReader, expectContinueReader, extraHeader, closeWriter, statusError, HandlerFunc, redirectHandler, ServeMux, muxEntry, Server, ConnState, serverHandler, onceCloseListener, globalOptionsHandler, initALPNRequest, loggingConn, checkConnErrorWriter, sniffSig, exactSig, maskedSig, htmlSig, mp4Sig, textSig, errorReader, byteReader, transferWriter, transferReader, unsupportedTEError, body, bodyLocked, finishAsyncByteRead, bufioFlushWriter, readTrackingBody, baseContexter, I, requestTooLarger, ptrType, sliceType, sliceType$1, ptrType$1, sliceType$2, sliceType$3, sliceType$4, ptrType$4, funcType, arrayType, ptrType$5, ptrType$6, ptrType$7, ptrType$8, ptrType$9, ptrType$10, chanType, ptrType$11, sliceType$5, sliceType$6, sliceType$7, ptrType$15, ptrType$17, ptrType$18, ptrType$19, ptrType$20, ptrType$21, structType, ptrType$24, ptrType$26, sliceType$9, ptrType$27, sliceType$10, ptrType$28, arrayType$1, ptrType$34, ptrType$35, ptrType$36, arrayType$3, ptrType$37, ptrType$38, ptrType$39, arrayType$4, sliceType$15, ptrType$40, ptrType$41, ptrType$42, ptrType$43, ptrType$44, ptrType$45, ptrType$46, ptrType$47, ptrType$48, ptrType$49, ptrType$50, ptrType$51, ptrType$52, sliceType$16, sliceType$17, ptrType$53, arrayType$5, sliceType$18, sliceType$19, ptrType$54, ptrType$55, sliceType$20, ptrType$56, ptrType$57, ptrType$58, ptrType$59, sliceType$21, sliceType$22, ptrType$60, ptrType$61, funcType$1, ptrType$62, ptrType$63, ptrType$64, ptrType$65, ptrType$66, ptrType$67, ptrType$68, ptrType$69, ptrType$70, ptrType$71, ptrType$72, ptrType$74, ptrType$75, sliceType$23, ptrType$76, sliceType$24, ptrType$80, ptrType$81, ptrType$82, sliceType$25, ptrType$83, ptrType$84, ptrType$85, ptrType$86, ptrType$87, ptrType$88, ptrType$89, ptrType$90, arrayType$6, sliceType$26, structType$1, ptrType$91, ptrType$92, ptrType$93, structType$2, ptrType$94, ptrType$95, ptrType$96, ptrType$97, arrayType$7, arrayType$8, sliceType$27, ptrType$98, ptrType$99, ptrType$100, ptrType$101, arrayType$9, ptrType$102, ptrType$105, ptrType$106, ptrType$107, ptrType$108, funcType$2, funcType$3, chanType$2, ptrType$117, ptrType$118, funcType$6, funcType$7, ptrType$119, chanType$3, funcType$8, mapType$5, funcType$9, chanType$4, chanType$5, chanType$6, chanType$7, chanType$8, mapType$6, mapType$7, chanType$9, chanType$10, ptrType$123, funcType$12, ptrType$124, funcType$13, ptrType$125, mapType$10, ptrType$126, mapType$11, mapType$12, ptrType$127, ptrType$128, funcType$14, ptrType$131, ptrType$132, ptrType$133, mapType$13, funcType$15, mapType$14, funcType$16, funcType$17, funcType$18, mapType$15, mapType$16, ptrType$135, ptrType$136, ptrType$137, ptrType$138, ptrType$141, chanType$12, ptrType$142, cookieNameSanitizer, errSeeker, errNoOverlap, unixEpochTime, errMissingSeek, errMissingReadDir, http2dataChunkSizeClasses, http2dataChunkPools, http2errReadEmpty, http2errCodeName, http2errMixPseudoHeaderTypes, http2errPseudoAfterRegular, http2padZeros, http2frameName, http2flagName, http2frameParsers, http2fhBytes, http2ErrFrameTooLarge, http2errStreamID, http2errDepStreamID, http2errPadLength, http2errPadBytes, http2DebugGoroutines, http2goroutineSpace, http2littleBuf, http2commonBuildOnce, http2commonLowerHeader, http2commonCanonHeader, http2VerboseLogs, http2logFrameWrites, http2logFrameReads, http2inTests, http2clientPreface, http2stateName, http2settingName, http2bufWriterPool, http2sorterPool, http2errClosedPipeWrite, http2errClientDisconnected, http2errClosedBody, http2errHandlerComplete, http2errStreamClosed, http2responseWriterStatePool, http2testHookOnConn, http2testHookGetServerConn, http2testHookOnPanicMu, http2testHookOnPanic, http2settingsTimerMsg, http2idleTimerMsg, http2shutdownTimerMsg, http2gracefulShutdownMsg, http2errPrefaceTimeout, http2errChanPool, http2writeDataPool, http2errHandlerPanicked, http2goAwayTimeout, http2ErrRecursivePush, http2ErrPushLimitReached, http2connHeaders, http2errClientConnClosed, http2errClientConnUnusable, http2errClientConnGotGoAway, http2errRequestCanceled, http2errStopReqBodyWrite, http2errStopReqBodyWriteAndCancel, http2errReqBodyTooLong, http2errClosedResponseBody, http2errResponseHeaderListSize, http2errRequestHeaderListSize, http2noBody, headerNewlineToSpace, headerSorterPool, aLongTimeAgo, omitBundledHTTP2, reqWriteExcludeHeader, multipartByReader, errMissingHost, textprotoReaderPool, respExcludeHeader, uint8Array, useFakeNetwork, errClosed, crlf, colonSpace, bufioReaderPool, bufioWriter2kPool, bufioWriter2kPool$24ptr, bufioWriter4kPool, bufioWriter4kPool$24ptr, copyBufPool, errTooLarge, extraHeaderKeys, headerContentLength, headerDate, htmlReplacer, defaultServeMux, defaultServeMux$24ptr, stateName, testHookServerServe, uniqNameMu, uniqNameNext, sniffSignatures, mp4ftype, mp4, socksaLongTimeAgo, statusText, suppressedHeaders304, suppressedHeadersNoBody, singleCRLF, doubleCRLF, errTrailerEOF, nopCloserType, errCannotRewind, errKeepAlivesDisabled, errConnBroken, errCloseIdle, errTooManyIdle, errTooManyIdleHost, errCloseIdleConns, errReadLoopExiting, errIdleConnTimeout, errServerClosedIdle, errCallerOwnsConn, errRequestCanceledConn, errReadOnClosedResBody, _r, x$1, x$2, _r$1, basicAuth, cloneURLValues, cloneURL, cloneMultipartForm, cloneMultipartFileHeader, readSetCookies, readCookies, validCookieDomain, validCookieExpires, isCookieDomainName, sanitizeCookieName, sanitizeCookieValue, validCookieValueByte, sanitizeCookiePath, validCookiePathByte, sanitizeOrWarn, parseCookieValue, isCookieNameValid, http2isBadCipher, http2getDataBufferChunk, http2putDataBufferChunk, http2streamError, http2typeFrameParser, http2readFrameHeader, http2NewFramer, http2terminalReadFrameError, http2parseDataFrame, http2validStreamIDOrZero, http2validStreamID, http2parseSettingsFrame, http2parsePingFrame, http2parseGoAwayFrame, http2parseUnknownFrame, http2parseWindowUpdateFrame, http2parseHeadersFrame, http2parsePriorityFrame, http2parseRSTStreamFrame, http2parseContinuationFrame, http2parsePushPromise, http2readByte, http2readUint32, http2summarizeFrame, http2newGoroutineLock, http2curGoroutineID, http2parseUintBytes, http2cutoff64, http2buildCommonHeaderMapsOnce, http2buildCommonHeaderMaps, http2lowerHeader, init, http2validWireHeaderFieldName, http2httpCodeString, http2newBufferedWriter, http2bodyAllowedForStatus, http2ConfigureServer, http2serverConnBaseContext, http2errno, http2isClosedConnError, http2checkPriority, http2handleHeaderListTooLong, http2checkWriteHeaderCode, http2cloneHeader, http2foreachHeaderElement, http2checkValidHTTP2RequestHeaders, http2new400Handler, http2h1ServerKeepAlivesDisabled, http2strSliceContains, http2writeEndsStream, http2splitHeaderBlock, http2encKV, http2encodeHeaders, http2NewPriorityWriteScheduler, http2NewRandomWriteScheduler, CanonicalHeaderKey, hasToken, isTokenBoundary, isNotToken, isASCII, stringContainsCTLByte, hexEscapeNonASCII, badStringError, valueOrDefault, idnaASCII, cleanHost, removeZone, ParseHTTPVersion, validMethod, parseBasicAuth, parseRequestLine, newTextprotoReader, putTextprotoReader, readRequest, MaxBytesReader, copyValues, parsePostForm, requestMethodUsuallyLacksBody, fixPragmaCacheControl, isProtocolSwitchResponse, isProtocolSwitchHeader, bufioWriterPool, newBufioReader, putBufioReader, newBufioWriterSize, putBufioWriter, appendTime, http1ServerSupportsRequest, checkWriteHeaderCode, relevantCaller, foreachHeaderElement, writeStatusLine, validNextProto, badRequestError, isCommonNetReadError, registerOnHitEOF, requestBodyRemains, Error, NotFound, NotFoundHandler, Redirect, htmlEscape, RedirectHandler, cleanPath, stripHostPort, appendSorted, newLoggingConn, numLeadingCRorLF, strSliceContains, tlsRecordHeaderLooksLikeHTTP, DetectContentType, isWS, isTT, StatusText, newTransferWriter, noResponseBodyExpected, bodyAllowedForStatus, suppressedHeaders, readTransfer, chunked, isIdentity, isUnsupportedTEError, fixLength, shouldClose, fixTrailer, seeUpcomingDoubleCRLF, mergeSetHeader, parseContentLength, isKnownInMemoryReader, cloneTLSConfig;
|
|
114934
|
+
var $pkg = {}, $init, bufio, bytes, gzip, list, context, rand, tls, base64, binary, errors, fmt, io, fs, ioutil, log, math, rand$1, mime, multipart, net, httptrace, internal, textproto, url, os, path, filepath, reflect, runtime, sort, strconv, strings, sync, atomic, js, time, utf8, httpguts, httpproxy, hpack, idna, Cookie, SameSite, http2dataBuffer, http2ErrCode, http2ConnectionError, http2StreamError, http2goAwayFlowError, http2connError, http2pseudoHeaderError, http2duplicatePseudoHeaderError, http2headerFieldNameError, http2headerFieldValueError, http2flow, http2FrameType, http2Flags, http2FrameHeader, http2Frame, http2Framer, http2frameCache, http2DataFrame, http2SettingsFrame, http2PingFrame, http2GoAwayFrame, http2UnknownFrame, http2WindowUpdateFrame, http2HeadersFrame, http2HeadersFrameParam, http2PriorityFrame, http2PriorityParam, http2RSTStreamFrame, http2ContinuationFrame, http2PushPromiseFrame, http2PushPromiseParam, http2MetaHeadersFrame, http2goroutineLock, http2streamState, http2Setting, http2SettingID, http2gate, http2closeWaiter, http2bufferedWriter, http2connectionStater, http2sorter, http2incomparable, http2pipe, http2pipeBuffer, http2Server, http2serverInternalState, http2ServeConnOpts, http2serverConn, http2stream, http2readFrameResult, http2frameWriteResult, http2serverMessage, http2requestParam, http2bodyReadMsg, http2requestBody, http2responseWriter, http2responseWriterState, http2chunkWriter, http2startPushRequest, http2writeFramer, http2writeContext, http2flushFrameWriter, http2writeSettings, http2writeGoAway, http2writeData, http2handlerPanicRST, http2writePingAck, http2writeSettingsAck, http2writeResHeaders, http2writePushPromise, http2write100ContinueHeadersFrame, http2writeWindowUpdate, http2WriteScheduler, http2OpenStreamOptions, http2FrameWriteRequest, http2writeQueue, http2writeQueuePool, http2PriorityWriteSchedulerConfig, http2priorityNodeState, http2priorityNode, http2sortPriorityNodeSiblings, http2priorityWriteScheduler, http2randomWriteScheduler, Header, stringWriter, keyValues, headerSorter, incomparable, contextKey, noBody, PushOptions, ProtocolError, Request, requestBodyReadError, maxBytesReader, Response, Handler, ResponseWriter, conn, chunkWriter, response, atomicBool, writerOnly, readResult, connReader, expectContinueReader, extraHeader, closeWriter, statusError, HandlerFunc, redirectHandler, ServeMux, muxEntry, Server, ConnState, serverHandler, onceCloseListener, globalOptionsHandler, initALPNRequest, loggingConn, checkConnErrorWriter, sniffSig, exactSig, maskedSig, htmlSig, mp4Sig, textSig, errorReader, byteReader, transferWriter, transferReader, unsupportedTEError, body, bodyLocked, finishAsyncByteRead, bufioFlushWriter, readTrackingBody, baseContexter, I, requestTooLarger, ptrType, sliceType, sliceType$1, ptrType$1, sliceType$2, sliceType$3, sliceType$4, ptrType$4, funcType, arrayType, ptrType$5, ptrType$6, ptrType$7, ptrType$8, ptrType$9, ptrType$10, chanType, ptrType$11, sliceType$5, sliceType$6, sliceType$7, ptrType$15, ptrType$17, ptrType$18, ptrType$19, ptrType$20, ptrType$21, structType, ptrType$24, ptrType$26, sliceType$9, ptrType$27, sliceType$10, ptrType$28, arrayType$1, ptrType$34, ptrType$35, ptrType$36, arrayType$3, ptrType$37, ptrType$38, ptrType$39, arrayType$4, sliceType$15, ptrType$40, ptrType$41, ptrType$42, ptrType$43, ptrType$44, ptrType$45, ptrType$46, ptrType$47, ptrType$48, ptrType$49, ptrType$50, ptrType$51, ptrType$52, sliceType$16, sliceType$17, ptrType$53, arrayType$5, sliceType$18, sliceType$19, ptrType$54, ptrType$55, sliceType$20, ptrType$56, ptrType$57, ptrType$58, ptrType$59, sliceType$21, sliceType$22, ptrType$60, ptrType$61, funcType$1, ptrType$62, ptrType$63, ptrType$64, ptrType$65, ptrType$66, ptrType$67, ptrType$68, ptrType$69, ptrType$70, ptrType$71, ptrType$72, ptrType$73, ptrType$76, ptrType$77, sliceType$23, ptrType$78, arrayType$6, sliceType$24, ptrType$81, ptrType$82, ptrType$83, sliceType$25, ptrType$84, ptrType$85, ptrType$86, ptrType$87, ptrType$88, ptrType$89, ptrType$90, ptrType$91, sliceType$26, structType$1, ptrType$92, ptrType$93, ptrType$94, structType$2, ptrType$95, ptrType$96, ptrType$97, ptrType$98, arrayType$7, arrayType$8, sliceType$27, ptrType$99, ptrType$100, ptrType$101, arrayType$9, ptrType$102, ptrType$105, ptrType$106, ptrType$107, ptrType$108, funcType$2, funcType$3, chanType$2, ptrType$117, ptrType$118, funcType$6, funcType$7, ptrType$119, chanType$3, funcType$8, mapType$5, funcType$9, chanType$4, chanType$5, chanType$6, chanType$7, chanType$8, mapType$6, mapType$7, chanType$9, chanType$10, ptrType$123, funcType$12, ptrType$124, funcType$13, ptrType$125, mapType$10, ptrType$126, mapType$11, mapType$12, ptrType$127, ptrType$128, funcType$14, ptrType$131, ptrType$132, ptrType$133, mapType$13, funcType$15, mapType$14, funcType$16, funcType$17, funcType$18, mapType$15, mapType$16, ptrType$135, ptrType$136, ptrType$137, ptrType$138, ptrType$141, chanType$11, ptrType$142, cookieNameSanitizer, errSeeker, errNoOverlap, unixEpochTime, errMissingSeek, errMissingReadDir, http2dataChunkSizeClasses, http2dataChunkPools, http2errReadEmpty, http2errCodeName, http2errFromPeer, http2errMixPseudoHeaderTypes, http2errPseudoAfterRegular, http2padZeros, http2frameName, http2flagName, http2frameParsers, http2fhBytes, http2ErrFrameTooLarge, http2errStreamID, http2errDepStreamID, http2errPadLength, http2errPadBytes, http2DebugGoroutines, http2goroutineSpace, http2littleBuf, http2commonBuildOnce, http2commonLowerHeader, http2commonCanonHeader, http2VerboseLogs, http2logFrameWrites, http2logFrameReads, http2inTests, http2clientPreface, http2stateName, http2settingName, http2bufWriterPool, http2sorterPool, http2errClosedPipeWrite, http2errClientDisconnected, http2errClosedBody, http2errHandlerComplete, http2errStreamClosed, http2responseWriterStatePool, http2testHookOnConn, http2testHookGetServerConn, http2testHookOnPanicMu, http2testHookOnPanic, http2settingsTimerMsg, http2idleTimerMsg, http2shutdownTimerMsg, http2gracefulShutdownMsg, http2errPrefaceTimeout, http2errChanPool, http2writeDataPool, http2errHandlerPanicked, http2goAwayTimeout, http2ErrRecursivePush, http2ErrPushLimitReached, http2connHeaders, http2errClientConnClosed, http2errClientConnUnusable, http2errClientConnGotGoAway, http2errRequestCanceled, http2errStopReqBodyWrite, http2errStopReqBodyWriteAndCancel, http2errReqBodyTooLong, http2errNilRequestURL, http2errClosedResponseBody, http2errResponseHeaderListSize, http2errRequestHeaderListSize, http2noBody, headerNewlineToSpace, headerSorterPool, aLongTimeAgo, omitBundledHTTP2, reqWriteExcludeHeader, multipartByReader, errMissingHost, textprotoReaderPool, respExcludeHeader, uint8Array, useFakeNetwork, errClosed, crlf, colonSpace, bufioReaderPool, bufioWriter2kPool, bufioWriter2kPool$24ptr, bufioWriter4kPool, bufioWriter4kPool$24ptr, copyBufPool, errTooLarge, extraHeaderKeys, headerContentLength, headerDate, htmlReplacer, defaultServeMux, defaultServeMux$24ptr, stateName, testHookServerServe, uniqNameMu, uniqNameNext, sniffSignatures, mp4ftype, mp4, socksaLongTimeAgo, statusText, suppressedHeaders304, suppressedHeadersNoBody, singleCRLF, doubleCRLF, errTrailerEOF, nopCloserType, errCannotRewind, errKeepAlivesDisabled, errConnBroken, errCloseIdle, errTooManyIdle, errTooManyIdleHost, errCloseIdleConns, errReadLoopExiting, errIdleConnTimeout, errServerClosedIdle, errCallerOwnsConn, errRequestCanceledConn, errReadOnClosedResBody, _r, x$1, x$2, _r$1, basicAuth, cloneURLValues, cloneURL, cloneMultipartForm, cloneMultipartFileHeader, readSetCookies, readCookies, validCookieDomain, validCookieExpires, isCookieDomainName, sanitizeCookieName, sanitizeCookieValue, validCookieValueByte, sanitizeCookiePath, validCookiePathByte, sanitizeOrWarn, parseCookieValue, isCookieNameValid, http2asciiEqualFold, http2lower, http2isASCIIPrint, http2asciiToLower, http2isBadCipher, http2getDataBufferChunk, http2putDataBufferChunk, http2streamError, http2typeFrameParser, http2readFrameHeader, http2NewFramer, http2terminalReadFrameError, http2parseDataFrame, http2validStreamIDOrZero, http2validStreamID, http2parseSettingsFrame, http2parsePingFrame, http2parseGoAwayFrame, http2parseUnknownFrame, http2parseWindowUpdateFrame, http2parseHeadersFrame, http2parsePriorityFrame, http2parseRSTStreamFrame, http2parseContinuationFrame, http2parsePushPromise, http2readByte, http2readUint32, http2summarizeFrame, http2newGoroutineLock, http2curGoroutineID, http2parseUintBytes, http2cutoff64, http2buildCommonHeaderMapsOnce, http2buildCommonHeaderMaps, http2lowerHeader, init, http2validWireHeaderFieldName, http2httpCodeString, http2newBufferedWriter, http2bodyAllowedForStatus, http2ConfigureServer, http2serverConnBaseContext, http2errno, http2isClosedConnError, http2checkPriority, http2handleHeaderListTooLong, http2checkWriteHeaderCode, http2cloneHeader, http2foreachHeaderElement, http2checkValidHTTP2RequestHeaders, http2new400Handler, http2h1ServerKeepAlivesDisabled, http2strSliceContains, http2writeEndsStream, http2splitHeaderBlock, http2encKV, http2encodeHeaders, http2NewPriorityWriteScheduler, http2NewRandomWriteScheduler, CanonicalHeaderKey, hasToken, isTokenBoundary, isNotToken, isASCII, stringContainsCTLByte, hexEscapeNonASCII, badStringError, valueOrDefault, idnaASCII, cleanHost, removeZone, ParseHTTPVersion, validMethod, parseBasicAuth, parseRequestLine, newTextprotoReader, putTextprotoReader, readRequest, MaxBytesReader, copyValues, parsePostForm, requestMethodUsuallyLacksBody, fixPragmaCacheControl, isProtocolSwitchResponse, isProtocolSwitchHeader, bufioWriterPool, newBufioReader, putBufioReader, newBufioWriterSize, putBufioWriter, appendTime, http1ServerSupportsRequest, checkWriteHeaderCode, relevantCaller, foreachHeaderElement, writeStatusLine, validNextProto, badRequestError, isCommonNetReadError, registerOnHitEOF, requestBodyRemains, Error, NotFound, NotFoundHandler, Redirect, htmlEscape, RedirectHandler, cleanPath, stripHostPort, appendSorted, newLoggingConn, numLeadingCRorLF, strSliceContains, tlsRecordHeaderLooksLikeHTTP, DetectContentType, isWS, isTT, StatusText, newTransferWriter, noResponseBodyExpected, bodyAllowedForStatus, suppressedHeaders, readTransfer, chunked, isIdentity, isUnsupportedTEError, fixLength, shouldClose, fixTrailer, seeUpcomingDoubleCRLF, mergeSetHeader, parseContentLength, isKnownInMemoryReader, cloneTLSConfig;
|
|
114935
114935
|
bufio = $packages["bufio"];
|
|
114936
114936
|
bytes = $packages["bytes"];
|
|
114937
114937
|
gzip = $packages["compress/gzip"];
|
|
@@ -115873,10 +115873,10 @@ $packages["net/http"] = (function() {
|
|
|
115873
115873
|
this.state = 0;
|
|
115874
115874
|
this.bytes = new $Int64(0, 0);
|
|
115875
115875
|
this.subtreeBytes = new $Int64(0, 0);
|
|
115876
|
-
this.parent = ptrType$
|
|
115877
|
-
this.kids = ptrType$
|
|
115878
|
-
this.prev = ptrType$
|
|
115879
|
-
this.next = ptrType$
|
|
115876
|
+
this.parent = ptrType$83.nil;
|
|
115877
|
+
this.kids = ptrType$83.nil;
|
|
115878
|
+
this.prev = ptrType$83.nil;
|
|
115879
|
+
this.next = ptrType$83.nil;
|
|
115880
115880
|
return;
|
|
115881
115881
|
}
|
|
115882
115882
|
this.q = q_;
|
|
@@ -115894,7 +115894,7 @@ $packages["net/http"] = (function() {
|
|
|
115894
115894
|
http2priorityWriteScheduler = $pkg.http2priorityWriteScheduler = $newType(0, $kindStruct, "http.http2priorityWriteScheduler", true, "net/http", false, function(root_, nodes_, maxID_, closedNodes_, idleNodes_, maxClosedNodesInTree_, maxIdleNodesInTree_, writeThrottleLimit_, enableWriteThrottle_, tmp_, queuePool_) {
|
|
115895
115895
|
this.$val = this;
|
|
115896
115896
|
if (arguments.length === 0) {
|
|
115897
|
-
this.root = new http2priorityNode.ptr(new http2writeQueue.ptr(sliceType$24.nil), 0, 0, 0, new $Int64(0, 0), new $Int64(0, 0), ptrType$
|
|
115897
|
+
this.root = new http2priorityNode.ptr(new http2writeQueue.ptr(sliceType$24.nil), 0, 0, 0, new $Int64(0, 0), new $Int64(0, 0), ptrType$83.nil, ptrType$83.nil, ptrType$83.nil, ptrType$83.nil);
|
|
115898
115898
|
this.nodes = false;
|
|
115899
115899
|
this.maxID = 0;
|
|
115900
115900
|
this.closedNodes = sliceType$25.nil;
|
|
@@ -116108,8 +116108,8 @@ $packages["net/http"] = (function() {
|
|
|
116108
116108
|
this.remoteAddr = "";
|
|
116109
116109
|
this.tlsState = ptrType$21.nil;
|
|
116110
116110
|
this.werr = $ifaceNil;
|
|
116111
|
-
this.r = ptrType$
|
|
116112
|
-
this.bufr = ptrType$
|
|
116111
|
+
this.r = ptrType$94.nil;
|
|
116112
|
+
this.bufr = ptrType$77.nil;
|
|
116113
116113
|
this.bufw = ptrType$9.nil;
|
|
116114
116114
|
this.lastMethod = "";
|
|
116115
116115
|
this.curReq = new atomic.Value.ptr($ifaceNil);
|
|
@@ -116136,7 +116136,7 @@ $packages["net/http"] = (function() {
|
|
|
116136
116136
|
chunkWriter = $pkg.chunkWriter = $newType(0, $kindStruct, "http.chunkWriter", true, "net/http", false, function(res_, header_, wroteHeader_, chunking_) {
|
|
116137
116137
|
this.$val = this;
|
|
116138
116138
|
if (arguments.length === 0) {
|
|
116139
|
-
this.res = ptrType$
|
|
116139
|
+
this.res = ptrType$95.nil;
|
|
116140
116140
|
this.header = false;
|
|
116141
116141
|
this.wroteHeader = false;
|
|
116142
116142
|
this.chunking = false;
|
|
@@ -116150,7 +116150,7 @@ $packages["net/http"] = (function() {
|
|
|
116150
116150
|
response = $pkg.response = $newType(0, $kindStruct, "http.response", true, "net/http", false, function(conn_, req_, reqBody_, cancelCtx_, wroteHeader_, wroteContinue_, wants10KeepAlive_, wantsClose_, canWriteContinue_, writeContinueMu_, w_, cw_, handlerHeader_, calledHeader_, written_, contentLength_, status_, closeAfterReply_, requestBodyLimitHit_, trailers_, handlerDone_, dateBuf_, clenBuf_, statusBuf_, closeNotifyCh_, didCloseNotify_) {
|
|
116151
116151
|
this.$val = this;
|
|
116152
116152
|
if (arguments.length === 0) {
|
|
116153
|
-
this.conn = ptrType$
|
|
116153
|
+
this.conn = ptrType$98.nil;
|
|
116154
116154
|
this.req = ptrType$6.nil;
|
|
116155
116155
|
this.reqBody = $ifaceNil;
|
|
116156
116156
|
this.cancelCtx = $throwNilPointerError;
|
|
@@ -116161,7 +116161,7 @@ $packages["net/http"] = (function() {
|
|
|
116161
116161
|
this.canWriteContinue = 0;
|
|
116162
116162
|
this.writeContinueMu = new sync.Mutex.ptr(0, 0);
|
|
116163
116163
|
this.w = ptrType$9.nil;
|
|
116164
|
-
this.cw = new chunkWriter.ptr(ptrType$
|
|
116164
|
+
this.cw = new chunkWriter.ptr(ptrType$95.nil, false, false, false);
|
|
116165
116165
|
this.handlerHeader = false;
|
|
116166
116166
|
this.calledHeader = false;
|
|
116167
116167
|
this.written = new $Int64(0, 0);
|
|
@@ -116231,11 +116231,11 @@ $packages["net/http"] = (function() {
|
|
|
116231
116231
|
connReader = $pkg.connReader = $newType(0, $kindStruct, "http.connReader", true, "net/http", false, function(conn_, mu_, hasByte_, byteBuf_, cond_, inRead_, aborted_, remain_) {
|
|
116232
116232
|
this.$val = this;
|
|
116233
116233
|
if (arguments.length === 0) {
|
|
116234
|
-
this.conn = ptrType$
|
|
116234
|
+
this.conn = ptrType$98.nil;
|
|
116235
116235
|
this.mu = new sync.Mutex.ptr(0, 0);
|
|
116236
116236
|
this.hasByte = false;
|
|
116237
116237
|
this.byteBuf = arrayType$6.zero();
|
|
116238
|
-
this.cond = ptrType$
|
|
116238
|
+
this.cond = ptrType$73.nil;
|
|
116239
116239
|
this.inRead = false;
|
|
116240
116240
|
this.aborted = false;
|
|
116241
116241
|
this.remain = new $Int64(0, 0);
|
|
@@ -116253,7 +116253,7 @@ $packages["net/http"] = (function() {
|
|
|
116253
116253
|
expectContinueReader = $pkg.expectContinueReader = $newType(0, $kindStruct, "http.expectContinueReader", true, "net/http", false, function(resp_, readCloser_, closed_, sawEOF_) {
|
|
116254
116254
|
this.$val = this;
|
|
116255
116255
|
if (arguments.length === 0) {
|
|
116256
|
-
this.resp = ptrType$
|
|
116256
|
+
this.resp = ptrType$95.nil;
|
|
116257
116257
|
this.readCloser = $ifaceNil;
|
|
116258
116258
|
this.closed = 0;
|
|
116259
116259
|
this.sawEOF = 0;
|
|
@@ -116407,7 +116407,7 @@ $packages["net/http"] = (function() {
|
|
|
116407
116407
|
this.$val = this;
|
|
116408
116408
|
if (arguments.length === 0) {
|
|
116409
116409
|
this.ctx = $ifaceNil;
|
|
116410
|
-
this.c = ptrType$
|
|
116410
|
+
this.c = ptrType$76.nil;
|
|
116411
116411
|
this.h = new serverHandler.ptr(ptrType$51.nil);
|
|
116412
116412
|
return;
|
|
116413
116413
|
}
|
|
@@ -116428,7 +116428,7 @@ $packages["net/http"] = (function() {
|
|
|
116428
116428
|
checkConnErrorWriter = $pkg.checkConnErrorWriter = $newType(0, $kindStruct, "http.checkConnErrorWriter", true, "net/http", false, function(c_) {
|
|
116429
116429
|
this.$val = this;
|
|
116430
116430
|
if (arguments.length === 0) {
|
|
116431
|
-
this.c = ptrType$
|
|
116431
|
+
this.c = ptrType$98.nil;
|
|
116432
116432
|
return;
|
|
116433
116433
|
}
|
|
116434
116434
|
this.c = c_;
|
|
@@ -116560,7 +116560,7 @@ $packages["net/http"] = (function() {
|
|
|
116560
116560
|
if (arguments.length === 0) {
|
|
116561
116561
|
this.src = $ifaceNil;
|
|
116562
116562
|
this.hdr = $ifaceNil;
|
|
116563
|
-
this.r = ptrType$
|
|
116563
|
+
this.r = ptrType$77.nil;
|
|
116564
116564
|
this.closing = false;
|
|
116565
116565
|
this.doEarlyClose = false;
|
|
116566
116566
|
this.mu = new sync.Mutex.ptr(0, 0);
|
|
@@ -116584,7 +116584,7 @@ $packages["net/http"] = (function() {
|
|
|
116584
116584
|
bodyLocked = $pkg.bodyLocked = $newType(0, $kindStruct, "http.bodyLocked", true, "net/http", false, function(b_) {
|
|
116585
116585
|
this.$val = this;
|
|
116586
116586
|
if (arguments.length === 0) {
|
|
116587
|
-
this.b = ptrType$
|
|
116587
|
+
this.b = ptrType$97.nil;
|
|
116588
116588
|
return;
|
|
116589
116589
|
}
|
|
116590
116590
|
this.b = b_;
|
|
@@ -116706,41 +116706,41 @@ $packages["net/http"] = (function() {
|
|
|
116706
116706
|
ptrType$70 = $ptrType(http2responseWriterState);
|
|
116707
116707
|
ptrType$71 = $ptrType(http2sorter);
|
|
116708
116708
|
ptrType$72 = $ptrType(PushOptions);
|
|
116709
|
-
ptrType$
|
|
116710
|
-
ptrType$
|
|
116709
|
+
ptrType$73 = $ptrType(sync.Cond);
|
|
116710
|
+
ptrType$76 = $ptrType(tls.Conn);
|
|
116711
|
+
ptrType$77 = $ptrType(bufio.Reader);
|
|
116711
116712
|
sliceType$23 = $sliceType(http2Setting);
|
|
116712
|
-
ptrType$
|
|
116713
|
-
sliceType$24 = $sliceType(http2FrameWriteRequest);
|
|
116714
|
-
ptrType$80 = $ptrType(http2writeQueue);
|
|
116715
|
-
ptrType$81 = $ptrType(http2PriorityWriteSchedulerConfig);
|
|
116716
|
-
ptrType$82 = $ptrType(http2priorityNode);
|
|
116717
|
-
sliceType$25 = $sliceType(ptrType$82);
|
|
116718
|
-
ptrType$83 = $ptrType(http2writeQueuePool);
|
|
116719
|
-
ptrType$84 = $ptrType(sliceType$25);
|
|
116720
|
-
ptrType$85 = $ptrType(headerSorter);
|
|
116721
|
-
ptrType$86 = $ptrType(multipart.Reader);
|
|
116722
|
-
ptrType$87 = $ptrType(bytes.Reader);
|
|
116723
|
-
ptrType$88 = $ptrType(strings.Reader);
|
|
116724
|
-
ptrType$89 = $ptrType(textproto.Reader);
|
|
116725
|
-
ptrType$90 = $ptrType(maxBytesReader);
|
|
116713
|
+
ptrType$78 = $ptrType(Header);
|
|
116726
116714
|
arrayType$6 = $arrayType($Uint8, 1);
|
|
116715
|
+
sliceType$24 = $sliceType(http2FrameWriteRequest);
|
|
116716
|
+
ptrType$81 = $ptrType(http2writeQueue);
|
|
116717
|
+
ptrType$82 = $ptrType(http2PriorityWriteSchedulerConfig);
|
|
116718
|
+
ptrType$83 = $ptrType(http2priorityNode);
|
|
116719
|
+
sliceType$25 = $sliceType(ptrType$83);
|
|
116720
|
+
ptrType$84 = $ptrType(http2writeQueuePool);
|
|
116721
|
+
ptrType$85 = $ptrType(sliceType$25);
|
|
116722
|
+
ptrType$86 = $ptrType(headerSorter);
|
|
116723
|
+
ptrType$87 = $ptrType(multipart.Reader);
|
|
116724
|
+
ptrType$88 = $ptrType(bytes.Reader);
|
|
116725
|
+
ptrType$89 = $ptrType(strings.Reader);
|
|
116726
|
+
ptrType$90 = $ptrType(textproto.Reader);
|
|
116727
|
+
ptrType$91 = $ptrType(maxBytesReader);
|
|
116727
116728
|
sliceType$26 = $sliceType(io.Reader);
|
|
116728
116729
|
structType$1 = $structType("", [{prop: "Reader", name: "Reader", embedded: true, exported: true, typ: io.Reader, tag: ""}, {prop: "Closer", name: "Closer", embedded: true, exported: true, typ: io.Closer, tag: ""}]);
|
|
116729
|
-
ptrType$
|
|
116730
|
-
ptrType$
|
|
116731
|
-
ptrType$
|
|
116730
|
+
ptrType$92 = $ptrType(bufio.ReadWriter);
|
|
116731
|
+
ptrType$93 = $ptrType($Int32);
|
|
116732
|
+
ptrType$94 = $ptrType(connReader);
|
|
116732
116733
|
structType$2 = $structType("net/http", [{prop: "atomic", name: "atomic", embedded: false, exported: false, typ: $Uint64, tag: ""}]);
|
|
116733
|
-
ptrType$
|
|
116734
|
-
ptrType$
|
|
116735
|
-
ptrType$
|
|
116736
|
-
ptrType$
|
|
116734
|
+
ptrType$95 = $ptrType(response);
|
|
116735
|
+
ptrType$96 = $ptrType(sync.Pool);
|
|
116736
|
+
ptrType$97 = $ptrType(body);
|
|
116737
|
+
ptrType$98 = $ptrType(conn);
|
|
116737
116738
|
arrayType$7 = $arrayType($Uint8, 10);
|
|
116738
116739
|
arrayType$8 = $arrayType($Uint8, 3);
|
|
116739
116740
|
sliceType$27 = $sliceType($Uintptr);
|
|
116740
|
-
ptrType$
|
|
116741
|
-
ptrType$
|
|
116742
|
-
ptrType$
|
|
116743
|
-
ptrType$101 = $ptrType(tls.Conn);
|
|
116741
|
+
ptrType$99 = $ptrType(runtime.Func);
|
|
116742
|
+
ptrType$100 = $ptrType(expectContinueReader);
|
|
116743
|
+
ptrType$101 = $ptrType($Uint64);
|
|
116744
116744
|
arrayType$9 = $arrayType($Uint8, 5);
|
|
116745
116745
|
ptrType$102 = $ptrType(net.Listener);
|
|
116746
116746
|
ptrType$105 = $ptrType(transferWriter);
|
|
@@ -116771,11 +116771,11 @@ $packages["net/http"] = (function() {
|
|
|
116771
116771
|
ptrType$123 = $ptrType(http2writeGoAway);
|
|
116772
116772
|
funcType$12 = $funcType([], [$Uint32, $error], false);
|
|
116773
116773
|
ptrType$124 = $ptrType(http2FrameWriteRequest);
|
|
116774
|
-
funcType$13 = $funcType([ptrType$
|
|
116774
|
+
funcType$13 = $funcType([ptrType$83, $Bool], [$Bool], false);
|
|
116775
116775
|
ptrType$125 = $ptrType(http2priorityWriteScheduler);
|
|
116776
|
-
mapType$10 = $mapType($Uint32, ptrType$
|
|
116776
|
+
mapType$10 = $mapType($Uint32, ptrType$83);
|
|
116777
116777
|
ptrType$126 = $ptrType(http2randomWriteScheduler);
|
|
116778
|
-
mapType$11 = $mapType($Uint32, ptrType$
|
|
116778
|
+
mapType$11 = $mapType($Uint32, ptrType$81);
|
|
116779
116779
|
mapType$12 = $mapType($String, $Bool);
|
|
116780
116780
|
ptrType$127 = $ptrType(contextKey);
|
|
116781
116781
|
ptrType$128 = $ptrType(ProtocolError);
|
|
@@ -116784,19 +116784,19 @@ $packages["net/http"] = (function() {
|
|
|
116784
116784
|
ptrType$132 = $ptrType(redirectHandler);
|
|
116785
116785
|
ptrType$133 = $ptrType(ServeMux);
|
|
116786
116786
|
mapType$13 = $mapType($String, muxEntry);
|
|
116787
|
-
funcType$15 = $funcType([ptrType$51, ptrType$
|
|
116787
|
+
funcType$15 = $funcType([ptrType$51, ptrType$76, Handler], [], false);
|
|
116788
116788
|
mapType$14 = $mapType($String, funcType$15);
|
|
116789
116789
|
funcType$16 = $funcType([net.Conn, ConnState], [], false);
|
|
116790
116790
|
funcType$17 = $funcType([net.Listener], [context.Context], false);
|
|
116791
116791
|
funcType$18 = $funcType([context.Context, net.Conn], [context.Context], false);
|
|
116792
116792
|
mapType$15 = $mapType(ptrType$102, structType);
|
|
116793
|
-
mapType$16 = $mapType(ptrType$
|
|
116793
|
+
mapType$16 = $mapType(ptrType$98, structType);
|
|
116794
116794
|
ptrType$135 = $ptrType(onceCloseListener);
|
|
116795
116795
|
ptrType$136 = $ptrType(loggingConn);
|
|
116796
116796
|
ptrType$137 = $ptrType(exactSig);
|
|
116797
116797
|
ptrType$138 = $ptrType(maskedSig);
|
|
116798
116798
|
ptrType$141 = $ptrType(byteReader);
|
|
116799
|
-
chanType$
|
|
116799
|
+
chanType$11 = $chanType(readResult, false, false);
|
|
116800
116800
|
ptrType$142 = $ptrType(transferReader);
|
|
116801
116801
|
basicAuth = function(username, password) {
|
|
116802
116802
|
var auth, password, username;
|
|
@@ -117352,6 +117352,60 @@ $packages["net/http"] = (function() {
|
|
|
117352
117352
|
$s = -1; return _r$2 < 0;
|
|
117353
117353
|
/* */ } return; } if ($f === undefined) { $f = { $blk: isCookieNameValid }; } $f._r$2 = _r$2; $f.raw = raw; $f.$s = $s; $f.$r = $r; return $f;
|
|
117354
117354
|
};
|
|
117355
|
+
http2asciiEqualFold = function(s, t) {
|
|
117356
|
+
var i, s, t;
|
|
117357
|
+
if (!((s.length === t.length))) {
|
|
117358
|
+
return false;
|
|
117359
|
+
}
|
|
117360
|
+
i = 0;
|
|
117361
|
+
while (true) {
|
|
117362
|
+
if (!(i < s.length)) { break; }
|
|
117363
|
+
if (!((http2lower(s.charCodeAt(i)) === http2lower(t.charCodeAt(i))))) {
|
|
117364
|
+
return false;
|
|
117365
|
+
}
|
|
117366
|
+
i = i + (1) >> 0;
|
|
117367
|
+
}
|
|
117368
|
+
return true;
|
|
117369
|
+
};
|
|
117370
|
+
http2lower = function(b) {
|
|
117371
|
+
var b;
|
|
117372
|
+
if (65 <= b && b <= 90) {
|
|
117373
|
+
return b + 32 << 24 >>> 24;
|
|
117374
|
+
}
|
|
117375
|
+
return b;
|
|
117376
|
+
};
|
|
117377
|
+
http2isASCIIPrint = function(s) {
|
|
117378
|
+
var i, s;
|
|
117379
|
+
i = 0;
|
|
117380
|
+
while (true) {
|
|
117381
|
+
if (!(i < s.length)) { break; }
|
|
117382
|
+
if (s.charCodeAt(i) < 32 || s.charCodeAt(i) > 126) {
|
|
117383
|
+
return false;
|
|
117384
|
+
}
|
|
117385
|
+
i = i + (1) >> 0;
|
|
117386
|
+
}
|
|
117387
|
+
return true;
|
|
117388
|
+
};
|
|
117389
|
+
http2asciiToLower = function(s) {
|
|
117390
|
+
var _r$2, _tmp, _tmp$1, _tmp$2, _tmp$3, lower, ok, s, $s, $r;
|
|
117391
|
+
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; _tmp$2 = $f._tmp$2; _tmp$3 = $f._tmp$3; lower = $f.lower; ok = $f.ok; s = $f.s; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
117392
|
+
lower = "";
|
|
117393
|
+
ok = false;
|
|
117394
|
+
if (!http2isASCIIPrint(s)) {
|
|
117395
|
+
_tmp = "";
|
|
117396
|
+
_tmp$1 = false;
|
|
117397
|
+
lower = _tmp;
|
|
117398
|
+
ok = _tmp$1;
|
|
117399
|
+
$s = -1; return [lower, ok];
|
|
117400
|
+
}
|
|
117401
|
+
_r$2 = strings.ToLower(s); /* */ $s = 1; case 1: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
117402
|
+
_tmp$2 = _r$2;
|
|
117403
|
+
_tmp$3 = true;
|
|
117404
|
+
lower = _tmp$2;
|
|
117405
|
+
ok = _tmp$3;
|
|
117406
|
+
$s = -1; return [lower, ok];
|
|
117407
|
+
/* */ } return; } if ($f === undefined) { $f = { $blk: http2asciiToLower }; } $f._r$2 = _r$2; $f._tmp = _tmp; $f._tmp$1 = _tmp$1; $f._tmp$2 = _tmp$2; $f._tmp$3 = _tmp$3; $f.lower = lower; $f.ok = ok; $f.s = s; $f.$s = $s; $f.$r = $r; return $f;
|
|
117408
|
+
};
|
|
117355
117409
|
http2isBadCipher = function(cipher) {
|
|
117356
117410
|
var _1, cipher;
|
|
117357
117411
|
_1 = cipher;
|
|
@@ -118432,7 +118486,7 @@ $packages["net/http"] = (function() {
|
|
|
118432
118486
|
return [_, err];
|
|
118433
118487
|
}
|
|
118434
118488
|
}
|
|
118435
|
-
if ((p.$length - ((padLength >> 0)) >> 0)
|
|
118489
|
+
if ((p.$length - ((padLength >> 0)) >> 0) < 0) {
|
|
118436
118490
|
_tmp$6 = $ifaceNil;
|
|
118437
118491
|
_tmp$7 = (x$5 = http2streamError(fh.StreamID, 1), new x$5.constructor.elem(x$5));
|
|
118438
118492
|
_ = _tmp$6;
|
|
@@ -119260,18 +119314,27 @@ $packages["net/http"] = (function() {
|
|
|
119260
119314
|
/* */ } return; } if ($f === undefined) { $f = { $blk: http2buildCommonHeaderMaps }; } $f._i = _i; $f._key = _key; $f._key$1 = _key$1; $f._r$2 = _r$2; $f._ref = _ref; $f.chk = chk; $f.common = common; $f.v = v; $f.x$4 = x$4; $f.x$5 = x$5; $f.$s = $s; $f.$r = $r; return $f;
|
|
119261
119315
|
};
|
|
119262
119316
|
http2lowerHeader = function(v) {
|
|
119263
|
-
var _entry, _r$2, _tuple, ok, s, v, $s, $r;
|
|
119264
|
-
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _r$2 = $f._r$2; _tuple = $f._tuple; ok = $f.ok; s = $f.s; v = $f.v; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
119317
|
+
var _entry, _r$2, _tmp, _tmp$1, _tuple, _tuple$1, ascii, lower, ok, s, v, $s, $r;
|
|
119318
|
+
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _r$2 = $f._r$2; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; _tuple = $f._tuple; _tuple$1 = $f._tuple$1; ascii = $f.ascii; lower = $f.lower; ok = $f.ok; s = $f.s; v = $f.v; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
119319
|
+
lower = "";
|
|
119320
|
+
ascii = false;
|
|
119265
119321
|
$r = http2buildCommonHeaderMapsOnce(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
119266
119322
|
_tuple = (_entry = http2commonLowerHeader[$String.keyFor(v)], _entry !== undefined ? [_entry.v, true] : ["", false]);
|
|
119267
119323
|
s = _tuple[0];
|
|
119268
119324
|
ok = _tuple[1];
|
|
119269
119325
|
if (ok) {
|
|
119270
|
-
|
|
119326
|
+
_tmp = s;
|
|
119327
|
+
_tmp$1 = true;
|
|
119328
|
+
lower = _tmp;
|
|
119329
|
+
ascii = _tmp$1;
|
|
119330
|
+
$s = -1; return [lower, ascii];
|
|
119271
119331
|
}
|
|
119272
|
-
_r$2 =
|
|
119273
|
-
$
|
|
119274
|
-
|
|
119332
|
+
_r$2 = http2asciiToLower(v); /* */ $s = 2; case 2: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
119333
|
+
_tuple$1 = _r$2;
|
|
119334
|
+
lower = _tuple$1[0];
|
|
119335
|
+
ascii = _tuple$1[1];
|
|
119336
|
+
$s = -1; return [lower, ascii];
|
|
119337
|
+
/* */ } return; } if ($f === undefined) { $f = { $blk: http2lowerHeader }; } $f._entry = _entry; $f._r$2 = _r$2; $f._tmp = _tmp; $f._tmp$1 = _tmp$1; $f._tuple = _tuple; $f._tuple$1 = _tuple$1; $f.ascii = ascii; $f.lower = lower; $f.ok = ok; $f.s = s; $f.v = v; $f.$s = $s; $f.$r = $r; return $f;
|
|
119275
119338
|
};
|
|
119276
119339
|
init = function() {
|
|
119277
119340
|
var _r$2, e, $s, $r;
|
|
@@ -119838,8 +119901,8 @@ $packages["net/http"] = (function() {
|
|
|
119838
119901
|
};
|
|
119839
119902
|
http2serverInternalState.prototype.startGracefulShutdown = function() { return this.$val.startGracefulShutdown(); };
|
|
119840
119903
|
http2ConfigureServer = function(s, conf) {
|
|
119841
|
-
var _1, _i,
|
|
119842
|
-
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _i = $f._i;
|
|
119904
|
+
var _1, _i, _key, _r$2, _r$3, _ref, _tmp, _tmp$1, conf, cs, h1, h2, haveRequired, i, protoHandler, s, sawBad, x$4, x$5, $s, $r;
|
|
119905
|
+
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _i = $f._i; _key = $f._key; _r$2 = $f._r$2; _r$3 = $f._r$3; _ref = $f._ref; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; conf = $f.conf; cs = $f.cs; h1 = $f.h1; h2 = $f.h2; haveRequired = $f.haveRequired; i = $f.i; protoHandler = $f.protoHandler; s = $f.s; sawBad = $f.sawBad; x$4 = $f.x$4; x$5 = $f.x$5; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
119843
119906
|
conf = [conf];
|
|
119844
119907
|
if (s === ptrType$51.nil) {
|
|
119845
119908
|
$panic(new $String("nil *http.Server"));
|
|
@@ -119899,21 +119962,12 @@ $packages["net/http"] = (function() {
|
|
|
119899
119962
|
/* } */ case 12:
|
|
119900
119963
|
/* } */ case 4:
|
|
119901
119964
|
s.TLSConfig.PreferServerCipherSuites = true;
|
|
119902
|
-
|
|
119903
|
-
_ref$1 = s.TLSConfig.NextProtos;
|
|
119904
|
-
_i$1 = 0;
|
|
119905
|
-
while (true) {
|
|
119906
|
-
if (!(_i$1 < _ref$1.$length)) { break; }
|
|
119907
|
-
p = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
|
|
119908
|
-
if (p === "h2") {
|
|
119909
|
-
haveNPN = true;
|
|
119910
|
-
break;
|
|
119911
|
-
}
|
|
119912
|
-
_i$1++;
|
|
119913
|
-
}
|
|
119914
|
-
if (!haveNPN) {
|
|
119965
|
+
if (!http2strSliceContains(s.TLSConfig.NextProtos, "h2")) {
|
|
119915
119966
|
s.TLSConfig.NextProtos = $append(s.TLSConfig.NextProtos, "h2");
|
|
119916
119967
|
}
|
|
119968
|
+
if (!http2strSliceContains(s.TLSConfig.NextProtos, "http/1.1")) {
|
|
119969
|
+
s.TLSConfig.NextProtos = $append(s.TLSConfig.NextProtos, "http/1.1");
|
|
119970
|
+
}
|
|
119917
119971
|
if (s.TLSNextProto === false) {
|
|
119918
119972
|
s.TLSNextProto = $makeMap($String.keyFor, []);
|
|
119919
119973
|
}
|
|
@@ -119941,7 +119995,7 @@ $packages["net/http"] = (function() {
|
|
|
119941
119995
|
}; })(conf);
|
|
119942
119996
|
_key = "h2"; (s.TLSNextProto || $throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(_key)] = { k: _key, v: protoHandler };
|
|
119943
119997
|
$s = -1; return $ifaceNil;
|
|
119944
|
-
/* */ } return; } if ($f === undefined) { $f = { $blk: http2ConfigureServer }; } $f._1 = _1; $f._i = _i; $f.
|
|
119998
|
+
/* */ } return; } if ($f === undefined) { $f = { $blk: http2ConfigureServer }; } $f._1 = _1; $f._i = _i; $f._key = _key; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._ref = _ref; $f._tmp = _tmp; $f._tmp$1 = _tmp$1; $f.conf = conf; $f.cs = cs; $f.h1 = h1; $f.h2 = h2; $f.haveRequired = haveRequired; $f.i = i; $f.protoHandler = protoHandler; $f.s = s; $f.sawBad = sawBad; $f.x$4 = x$4; $f.x$5 = x$5; $f.$s = $s; $f.$r = $r; return $f;
|
|
119945
119999
|
};
|
|
119946
120000
|
http2ServeConnOpts.ptr.prototype.context = function() {
|
|
119947
120001
|
var o;
|
|
@@ -120414,8 +120468,8 @@ $packages["net/http"] = (function() {
|
|
|
120414
120468
|
};
|
|
120415
120469
|
http2serverConn.prototype.notePanic = function() { return this.$val.notePanic(); };
|
|
120416
120470
|
http2serverConn.ptr.prototype.serve = function() {
|
|
120417
|
-
var _1, _arg, _arg$1, _arg$2, _arg$3, _arg$4, _arg$5, _arg$6, _arg$7, _r$10, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _ref, _selection, _tuple, _v, diff, err, gracefulShutdownComplete, loopNum, m, msg, ok, res, res$1, sc, se, sentGoAway, settingsTimer, v, v$1, v$2, v$3, wr, x$4, $s, $deferred, $r;
|
|
120418
|
-
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _arg = $f._arg; _arg$1 = $f._arg$1; _arg$2 = $f._arg$2; _arg$3 = $f._arg$3; _arg$4 = $f._arg$4; _arg$5 = $f._arg$5; _arg$6 = $f._arg$6; _arg$7 = $f._arg$7; _r$10 = $f._r$10; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _r$5 = $f._r$5; _r$6 = $f._r$6; _r$7 = $f._r$7; _r$8 = $f._r$8; _r$9 = $f._r$9; _ref = $f._ref; _selection = $f._selection; _tuple = $f._tuple; _v = $f._v; diff = $f.diff; err = $f.err; gracefulShutdownComplete = $f.gracefulShutdownComplete; loopNum = $f.loopNum; m = $f.m; msg = $f.msg; ok = $f.ok; res = $f.res; res$1 = $f.res$1; sc = $f.sc; se = $f.se; sentGoAway = $f.sentGoAway; settingsTimer = $f.settingsTimer; v = $f.v; v$1 = $f.v$1; v$2 = $f.v$2; v$3 = $f.v$3; wr = $f.wr; x$4 = $f.x$4; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
|
|
120471
|
+
var _1, _arg, _arg$1, _arg$2, _arg$3, _arg$4, _arg$5, _arg$6, _arg$7, _r$10, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _ref, _selection, _selection$1, _tuple, _v, diff, err, gracefulShutdownComplete, loopNum, m, msg, ok, res, res$1, sc, se, sentGoAway, settingsTimer, v, v$1, v$2, v$3, wr, wroteRes, x$4, $s, $deferred, $r;
|
|
120472
|
+
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _arg = $f._arg; _arg$1 = $f._arg$1; _arg$2 = $f._arg$2; _arg$3 = $f._arg$3; _arg$4 = $f._arg$4; _arg$5 = $f._arg$5; _arg$6 = $f._arg$6; _arg$7 = $f._arg$7; _r$10 = $f._r$10; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _r$5 = $f._r$5; _r$6 = $f._r$6; _r$7 = $f._r$7; _r$8 = $f._r$8; _r$9 = $f._r$9; _ref = $f._ref; _selection = $f._selection; _selection$1 = $f._selection$1; _tuple = $f._tuple; _v = $f._v; diff = $f.diff; err = $f.err; gracefulShutdownComplete = $f.gracefulShutdownComplete; loopNum = $f.loopNum; m = $f.m; msg = $f.msg; ok = $f.ok; res = $f.res; res$1 = $f.res$1; sc = $f.sc; se = $f.se; sentGoAway = $f.sentGoAway; settingsTimer = $f.settingsTimer; v = $f.v; v$1 = $f.v$1; v$2 = $f.v$2; v$3 = $f.v$3; wr = $f.wr; wroteRes = $f.wroteRes; x$4 = $f.x$4; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
|
|
120419
120473
|
sc = this;
|
|
120420
120474
|
$r = sc.serveG.check(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120421
120475
|
$deferred.push([$methodVal(sc, "notePanic"), []]);
|
|
@@ -120490,13 +120544,27 @@ $packages["net/http"] = (function() {
|
|
|
120490
120544
|
$s = 25; continue;
|
|
120491
120545
|
/* } else if (_selection[0] === 2) { */ case 22:
|
|
120492
120546
|
res$1 = $clone(_selection[1][0], http2readFrameResult);
|
|
120493
|
-
|
|
120494
|
-
/* */ if (!_r$6) { $s = 31; continue; }
|
|
120547
|
+
/* */ if (sc.writingFrameAsync) { $s = 31; continue; }
|
|
120495
120548
|
/* */ $s = 32; continue;
|
|
120496
|
-
/* if (
|
|
120497
|
-
$
|
|
120549
|
+
/* if (sc.writingFrameAsync) { */ case 31:
|
|
120550
|
+
_selection$1 = $select([[sc.wroteFrameCh], []]);
|
|
120551
|
+
/* */ if (_selection$1[0] === 0) { $s = 33; continue; }
|
|
120552
|
+
/* */ if (_selection$1[0] === 1) { $s = 34; continue; }
|
|
120553
|
+
/* */ $s = 35; continue;
|
|
120554
|
+
/* if (_selection$1[0] === 0) { */ case 33:
|
|
120555
|
+
wroteRes = $clone(_selection$1[1][0], http2frameWriteResult);
|
|
120556
|
+
$r = sc.wroteFrame($clone(wroteRes, http2frameWriteResult)); /* */ $s = 36; case 36: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120557
|
+
$s = 35; continue;
|
|
120558
|
+
/* } else if (_selection$1[0] === 1) { */ case 34:
|
|
120559
|
+
/* } */ case 35:
|
|
120498
120560
|
/* } */ case 32:
|
|
120499
|
-
$
|
|
120561
|
+
_r$6 = sc.processFrameFromReader($clone(res$1, http2readFrameResult)); /* */ $s = 39; case 39: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
|
|
120562
|
+
/* */ if (!_r$6) { $s = 37; continue; }
|
|
120563
|
+
/* */ $s = 38; continue;
|
|
120564
|
+
/* if (!_r$6) { */ case 37:
|
|
120565
|
+
$s = -1; return;
|
|
120566
|
+
/* } */ case 38:
|
|
120567
|
+
$r = res$1.readMore(); /* */ $s = 40; case 40: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120500
120568
|
if (!(settingsTimer === ptrType$57.nil)) {
|
|
120501
120569
|
settingsTimer.Stop();
|
|
120502
120570
|
settingsTimer = ptrType$57.nil;
|
|
@@ -120504,78 +120572,78 @@ $packages["net/http"] = (function() {
|
|
|
120504
120572
|
$s = 25; continue;
|
|
120505
120573
|
/* } else if (_selection[0] === 3) { */ case 23:
|
|
120506
120574
|
m = $clone(_selection[1][0], http2bodyReadMsg);
|
|
120507
|
-
$r = sc.noteBodyRead(m.st, m.n); /* */ $s =
|
|
120575
|
+
$r = sc.noteBodyRead(m.st, m.n); /* */ $s = 41; case 41: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120508
120576
|
$s = 25; continue;
|
|
120509
120577
|
/* } else if (_selection[0] === 4) { */ case 24:
|
|
120510
120578
|
msg = _selection[1][0];
|
|
120511
120579
|
_ref = msg;
|
|
120512
|
-
/* */ if ($assertType(_ref, funcType$1, true)[1]) { $s =
|
|
120513
|
-
/* */ if ($assertType(_ref, ptrType$10, true)[1]) { $s =
|
|
120514
|
-
/* */ if ($assertType(_ref, ptrType$62, true)[1]) { $s =
|
|
120515
|
-
/* */ $s =
|
|
120516
|
-
/* if ($assertType(_ref, funcType$1, true)[1]) { */ case
|
|
120580
|
+
/* */ if ($assertType(_ref, funcType$1, true)[1]) { $s = 42; continue; }
|
|
120581
|
+
/* */ if ($assertType(_ref, ptrType$10, true)[1]) { $s = 43; continue; }
|
|
120582
|
+
/* */ if ($assertType(_ref, ptrType$62, true)[1]) { $s = 44; continue; }
|
|
120583
|
+
/* */ $s = 45; continue;
|
|
120584
|
+
/* if ($assertType(_ref, funcType$1, true)[1]) { */ case 42:
|
|
120517
120585
|
v = _ref.$val;
|
|
120518
|
-
$r = v(loopNum); /* */ $s =
|
|
120519
|
-
$s =
|
|
120520
|
-
/* } else if ($assertType(_ref, ptrType$10, true)[1]) { */ case
|
|
120586
|
+
$r = v(loopNum); /* */ $s = 47; case 47: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120587
|
+
$s = 46; continue;
|
|
120588
|
+
/* } else if ($assertType(_ref, ptrType$10, true)[1]) { */ case 43:
|
|
120521
120589
|
v$1 = _ref.$val;
|
|
120522
120590
|
_1 = v$1;
|
|
120523
|
-
/* */ if (_1 === (http2settingsTimerMsg)) { $s =
|
|
120524
|
-
/* */ if (_1 === (http2idleTimerMsg)) { $s =
|
|
120525
|
-
/* */ if (_1 === (http2shutdownTimerMsg)) { $s =
|
|
120526
|
-
/* */ if (_1 === (http2gracefulShutdownMsg)) { $s =
|
|
120527
|
-
/* */ $s =
|
|
120528
|
-
/* if (_1 === (http2settingsTimerMsg)) { */ case
|
|
120529
|
-
_r$7 = sc.conn.RemoteAddr(); /* */ $s =
|
|
120591
|
+
/* */ if (_1 === (http2settingsTimerMsg)) { $s = 49; continue; }
|
|
120592
|
+
/* */ if (_1 === (http2idleTimerMsg)) { $s = 50; continue; }
|
|
120593
|
+
/* */ if (_1 === (http2shutdownTimerMsg)) { $s = 51; continue; }
|
|
120594
|
+
/* */ if (_1 === (http2gracefulShutdownMsg)) { $s = 52; continue; }
|
|
120595
|
+
/* */ $s = 53; continue;
|
|
120596
|
+
/* if (_1 === (http2settingsTimerMsg)) { */ case 49:
|
|
120597
|
+
_r$7 = sc.conn.RemoteAddr(); /* */ $s = 55; case 55: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
|
|
120530
120598
|
_arg$6 = _r$7;
|
|
120531
|
-
$r = sc.logf("timeout waiting for SETTINGS frames from %v", new sliceType([_arg$6])); /* */ $s =
|
|
120599
|
+
$r = sc.logf("timeout waiting for SETTINGS frames from %v", new sliceType([_arg$6])); /* */ $s = 56; case 56: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120532
120600
|
$s = -1; return;
|
|
120533
|
-
/* } else if (_1 === (http2idleTimerMsg)) { */ case
|
|
120534
|
-
$r = sc.vlogf("connection is idle", new sliceType([])); /* */ $s =
|
|
120535
|
-
$r = sc.goAway(0); /* */ $s =
|
|
120536
|
-
$s =
|
|
120537
|
-
/* } else if (_1 === (http2shutdownTimerMsg)) { */ case
|
|
120538
|
-
_r$8 = sc.conn.RemoteAddr(); /* */ $s =
|
|
120601
|
+
/* } else if (_1 === (http2idleTimerMsg)) { */ case 50:
|
|
120602
|
+
$r = sc.vlogf("connection is idle", new sliceType([])); /* */ $s = 57; case 57: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120603
|
+
$r = sc.goAway(0); /* */ $s = 58; case 58: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120604
|
+
$s = 54; continue;
|
|
120605
|
+
/* } else if (_1 === (http2shutdownTimerMsg)) { */ case 51:
|
|
120606
|
+
_r$8 = sc.conn.RemoteAddr(); /* */ $s = 59; case 59: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
|
|
120539
120607
|
_arg$7 = _r$8;
|
|
120540
|
-
$r = sc.vlogf("GOAWAY close timer fired; closing conn from %v", new sliceType([_arg$7])); /* */ $s =
|
|
120608
|
+
$r = sc.vlogf("GOAWAY close timer fired; closing conn from %v", new sliceType([_arg$7])); /* */ $s = 60; case 60: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120541
120609
|
$s = -1; return;
|
|
120542
|
-
/* } else if (_1 === (http2gracefulShutdownMsg)) { */ case
|
|
120543
|
-
$r = sc.startGracefulShutdownInternal(); /* */ $s =
|
|
120544
|
-
$s =
|
|
120545
|
-
/* } else { */ case
|
|
120610
|
+
/* } else if (_1 === (http2gracefulShutdownMsg)) { */ case 52:
|
|
120611
|
+
$r = sc.startGracefulShutdownInternal(); /* */ $s = 61; case 61: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120612
|
+
$s = 54; continue;
|
|
120613
|
+
/* } else { */ case 53:
|
|
120546
120614
|
$panic(new $String("unknown timer"));
|
|
120547
|
-
/* } */ case
|
|
120548
|
-
case
|
|
120549
|
-
$s =
|
|
120550
|
-
/* } else if ($assertType(_ref, ptrType$62, true)[1]) { */ case
|
|
120615
|
+
/* } */ case 54:
|
|
120616
|
+
case 48:
|
|
120617
|
+
$s = 46; continue;
|
|
120618
|
+
/* } else if ($assertType(_ref, ptrType$62, true)[1]) { */ case 44:
|
|
120551
120619
|
v$2 = _ref.$val;
|
|
120552
|
-
$r = sc.startPush(v$2); /* */ $s =
|
|
120553
|
-
$s =
|
|
120554
|
-
/* } else { */ case
|
|
120620
|
+
$r = sc.startPush(v$2); /* */ $s = 62; case 62: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120621
|
+
$s = 46; continue;
|
|
120622
|
+
/* } else { */ case 45:
|
|
120555
120623
|
v$3 = _ref;
|
|
120556
|
-
_r$9 = fmt.Sprintf("unexpected type %T", new sliceType([v$3])); /* */ $s =
|
|
120624
|
+
_r$9 = fmt.Sprintf("unexpected type %T", new sliceType([v$3])); /* */ $s = 63; case 63: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
|
|
120557
120625
|
$panic(new $String(_r$9));
|
|
120558
|
-
/* } */ case
|
|
120626
|
+
/* } */ case 46:
|
|
120559
120627
|
/* } } */ case 25:
|
|
120560
|
-
/* */ if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { $s =
|
|
120561
|
-
/* */ $s =
|
|
120562
|
-
/* if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { */ case
|
|
120563
|
-
$r = sc.vlogf("http2: too many control frames in send queue, closing connection", new sliceType([])); /* */ $s =
|
|
120628
|
+
/* */ if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { $s = 64; continue; }
|
|
120629
|
+
/* */ $s = 65; continue;
|
|
120630
|
+
/* if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { */ case 64:
|
|
120631
|
+
$r = sc.vlogf("http2: too many control frames in send queue, closing connection", new sliceType([])); /* */ $s = 66; case 66: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120564
120632
|
$s = -1; return;
|
|
120565
|
-
/* } */ case
|
|
120633
|
+
/* } */ case 65:
|
|
120566
120634
|
sentGoAway = sc.inGoAway && !sc.needToSendGoAway && !sc.writingFrame;
|
|
120567
|
-
if (!(sc.goAwayCode === 0)) { _v = false; $s =
|
|
120568
|
-
_r$10 = sc.curOpenStreams(); /* */ $s =
|
|
120569
|
-
_v = _r$10 === 0; case
|
|
120635
|
+
if (!(sc.goAwayCode === 0)) { _v = false; $s = 67; continue s; }
|
|
120636
|
+
_r$10 = sc.curOpenStreams(); /* */ $s = 68; case 68: if($c) { $c = false; _r$10 = _r$10.$blk(); } if (_r$10 && _r$10.$blk !== undefined) { break s; }
|
|
120637
|
+
_v = _r$10 === 0; case 67:
|
|
120570
120638
|
gracefulShutdownComplete = _v;
|
|
120571
|
-
/* */ if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { $s =
|
|
120572
|
-
/* */ $s =
|
|
120573
|
-
/* if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { */ case
|
|
120574
|
-
$r = sc.shutDownIn(http2goAwayTimeout); /* */ $s =
|
|
120575
|
-
/* } */ case
|
|
120639
|
+
/* */ if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { $s = 69; continue; }
|
|
120640
|
+
/* */ $s = 70; continue;
|
|
120641
|
+
/* if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { */ case 69:
|
|
120642
|
+
$r = sc.shutDownIn(http2goAwayTimeout); /* */ $s = 71; case 71: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
120643
|
+
/* } */ case 70:
|
|
120576
120644
|
/* } */ $s = 17; continue; case 18:
|
|
120577
120645
|
$s = -1; return;
|
|
120578
|
-
/* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: http2serverConn.ptr.prototype.serve }; } $f._1 = _1; $f._arg = _arg; $f._arg$1 = _arg$1; $f._arg$2 = _arg$2; $f._arg$3 = _arg$3; $f._arg$4 = _arg$4; $f._arg$5 = _arg$5; $f._arg$6 = _arg$6; $f._arg$7 = _arg$7; $f._r$10 = _r$10; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._r$5 = _r$5; $f._r$6 = _r$6; $f._r$7 = _r$7; $f._r$8 = _r$8; $f._r$9 = _r$9; $f._ref = _ref; $f._selection = _selection; $f._tuple = _tuple; $f._v = _v; $f.diff = diff; $f.err = err; $f.gracefulShutdownComplete = gracefulShutdownComplete; $f.loopNum = loopNum; $f.m = m; $f.msg = msg; $f.ok = ok; $f.res = res; $f.res$1 = res$1; $f.sc = sc; $f.se = se; $f.sentGoAway = sentGoAway; $f.settingsTimer = settingsTimer; $f.v = v; $f.v$1 = v$1; $f.v$2 = v$2; $f.v$3 = v$3; $f.wr = wr; $f.x$4 = x$4; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
|
|
120646
|
+
/* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: http2serverConn.ptr.prototype.serve }; } $f._1 = _1; $f._arg = _arg; $f._arg$1 = _arg$1; $f._arg$2 = _arg$2; $f._arg$3 = _arg$3; $f._arg$4 = _arg$4; $f._arg$5 = _arg$5; $f._arg$6 = _arg$6; $f._arg$7 = _arg$7; $f._r$10 = _r$10; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._r$5 = _r$5; $f._r$6 = _r$6; $f._r$7 = _r$7; $f._r$8 = _r$8; $f._r$9 = _r$9; $f._ref = _ref; $f._selection = _selection; $f._selection$1 = _selection$1; $f._tuple = _tuple; $f._v = _v; $f.diff = diff; $f.err = err; $f.gracefulShutdownComplete = gracefulShutdownComplete; $f.loopNum = loopNum; $f.m = m; $f.msg = msg; $f.ok = ok; $f.res = res; $f.res$1 = res$1; $f.sc = sc; $f.se = se; $f.sentGoAway = sentGoAway; $f.settingsTimer = settingsTimer; $f.v = v; $f.v$1 = v$1; $f.v$2 = v$2; $f.v$3 = v$3; $f.wr = wr; $f.wroteRes = wroteRes; $f.x$4 = x$4; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
|
|
120579
120647
|
};
|
|
120580
120648
|
http2serverConn.prototype.serve = function() { return this.$val.serve(); };
|
|
120581
120649
|
http2serverConn.ptr.prototype.onSettingsTimer = function() {
|
|
@@ -121416,11 +121484,11 @@ $packages["net/http"] = (function() {
|
|
|
121416
121484
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _tuple = $f._tuple; _tuple$1 = $f._tuple$1; data = $f.data; err = $f.err; f = $f.f; id = $f.id; pad = $f.pad; sc = $f.sc; st = $f.st; state = $f.state; wrote = $f.wrote; x$10 = $f.x$10; x$11 = $f.x$11; x$12 = $f.x$12; x$13 = $f.x$13; x$14 = $f.x$14; x$15 = $f.x$15; x$4 = $f.x$4; x$5 = $f.x$5; x$6 = $f.x$6; x$7 = $f.x$7; x$8 = $f.x$8; x$9 = $f.x$9; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
121417
121485
|
sc = this;
|
|
121418
121486
|
$r = sc.serveG.check(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
121419
|
-
|
|
121487
|
+
id = $clone(f.http2FrameHeader, http2FrameHeader).Header().StreamID;
|
|
121488
|
+
if (sc.inGoAway && (!((sc.goAwayCode === 0)) || id > sc.maxClientStreamID)) {
|
|
121420
121489
|
$s = -1; return $ifaceNil;
|
|
121421
121490
|
}
|
|
121422
121491
|
data = f.Data();
|
|
121423
|
-
id = $clone(f.http2FrameHeader, http2FrameHeader).Header().StreamID;
|
|
121424
121492
|
_r$2 = sc.state(id); /* */ $s = 2; case 2: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
121425
121493
|
_tuple = _r$2;
|
|
121426
121494
|
state = _tuple[0];
|
|
@@ -122619,8 +122687,8 @@ $packages["net/http"] = (function() {
|
|
|
122619
122687
|
};
|
|
122620
122688
|
http2responseWriter.prototype.handlerDone = function() { return this.$val.handlerDone(); };
|
|
122621
122689
|
http2responseWriter.ptr.prototype.Push = function(target, opts) {
|
|
122622
|
-
var
|
|
122623
|
-
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true;
|
|
122690
|
+
var _entry, _i, _keys, _r$10, _r$11, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _ref, _selection, _selection$1, _tuple, err, err$1, err$2, k, msg, opts, sc, st, target, u, w, wantScheme, $s, $r;
|
|
122691
|
+
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _i = $f._i; _keys = $f._keys; _r$10 = $f._r$10; _r$11 = $f._r$11; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _r$5 = $f._r$5; _r$6 = $f._r$6; _r$7 = $f._r$7; _r$8 = $f._r$8; _r$9 = $f._r$9; _ref = $f._ref; _selection = $f._selection; _selection$1 = $f._selection$1; _tuple = $f._tuple; err = $f.err; err$1 = $f.err$1; err$2 = $f.err$2; k = $f.k; msg = $f.msg; opts = $f.opts; sc = $f.sc; st = $f.st; target = $f.target; u = $f.u; w = $f.w; wantScheme = $f.wantScheme; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
122624
122692
|
w = this;
|
|
122625
122693
|
st = w.rws.stream;
|
|
122626
122694
|
sc = st.sc;
|
|
@@ -122688,44 +122756,41 @@ $packages["net/http"] = (function() {
|
|
|
122688
122756
|
_r$5 = fmt.Errorf("promised request headers cannot include pseudo header %q", new sliceType([new $String(k)])); /* */ $s = 16; case 16: if($c) { $c = false; _r$5 = _r$5.$blk(); } if (_r$5 && _r$5.$blk !== undefined) { break s; }
|
|
122689
122757
|
$s = -1; return _r$5;
|
|
122690
122758
|
/* } */ case 15:
|
|
122691
|
-
|
|
122692
|
-
|
|
122693
|
-
|
|
122694
|
-
/* */ $s =
|
|
122695
|
-
|
|
122696
|
-
|
|
122697
|
-
$s = -1; return _r$7;
|
|
122698
|
-
/* } */ case 20:
|
|
122699
|
-
case 17:
|
|
122759
|
+
/* */ if (http2asciiEqualFold(k, "content-length") || http2asciiEqualFold(k, "content-encoding") || http2asciiEqualFold(k, "trailer") || http2asciiEqualFold(k, "te") || http2asciiEqualFold(k, "expect") || http2asciiEqualFold(k, "host")) { $s = 17; continue; }
|
|
122760
|
+
/* */ $s = 18; continue;
|
|
122761
|
+
/* if (http2asciiEqualFold(k, "content-length") || http2asciiEqualFold(k, "content-encoding") || http2asciiEqualFold(k, "trailer") || http2asciiEqualFold(k, "te") || http2asciiEqualFold(k, "expect") || http2asciiEqualFold(k, "host")) { */ case 17:
|
|
122762
|
+
_r$6 = fmt.Errorf("promised request headers cannot include %q", new sliceType([new $String(k)])); /* */ $s = 19; case 19: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
|
|
122763
|
+
$s = -1; return _r$6;
|
|
122764
|
+
/* } */ case 18:
|
|
122700
122765
|
_i++;
|
|
122701
122766
|
/* } */ $s = 12; continue; case 13:
|
|
122702
|
-
_r$
|
|
122703
|
-
err$1 = _r$
|
|
122767
|
+
_r$7 = http2checkValidHTTP2RequestHeaders(opts.Header); /* */ $s = 20; case 20: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
|
|
122768
|
+
err$1 = _r$7;
|
|
122704
122769
|
if (!($interfaceIsEqual(err$1, $ifaceNil))) {
|
|
122705
122770
|
$s = -1; return err$1;
|
|
122706
122771
|
}
|
|
122707
|
-
/* */ if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { $s =
|
|
122708
|
-
/* */ $s =
|
|
122709
|
-
/* if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { */ case
|
|
122710
|
-
_r$
|
|
122711
|
-
$s = -1; return _r$
|
|
122712
|
-
/* } */ case
|
|
122713
|
-
_r$
|
|
122714
|
-
msg = new http2startPushRequest.ptr(st, opts.Method, u, http2cloneHeader(opts.Header), $assertType(_r$
|
|
122715
|
-
_r$
|
|
122716
|
-
_selection = _r$
|
|
122717
|
-
/* */ if (_selection[0] === 0) { $s =
|
|
122718
|
-
/* */ if (_selection[0] === 1) { $s =
|
|
122719
|
-
/* */ if (_selection[0] === 2) { $s =
|
|
122720
|
-
/* */ $s =
|
|
122721
|
-
/* if (_selection[0] === 0) { */ case
|
|
122772
|
+
/* */ if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { $s = 21; continue; }
|
|
122773
|
+
/* */ $s = 22; continue;
|
|
122774
|
+
/* if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { */ case 21:
|
|
122775
|
+
_r$8 = fmt.Errorf("method %q must be GET or HEAD", new sliceType([new $String(opts.Method)])); /* */ $s = 23; case 23: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
|
|
122776
|
+
$s = -1; return _r$8;
|
|
122777
|
+
/* } */ case 22:
|
|
122778
|
+
_r$9 = http2errChanPool.Get(); /* */ $s = 24; case 24: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
|
|
122779
|
+
msg = new http2startPushRequest.ptr(st, opts.Method, u, http2cloneHeader(opts.Header), $assertType(_r$9, chanType));
|
|
122780
|
+
_r$10 = $select([[sc.doneServing], [st.cw], [sc.serveMsgCh, msg]]); /* */ $s = 25; case 25: if($c) { $c = false; _r$10 = _r$10.$blk(); } if (_r$10 && _r$10.$blk !== undefined) { break s; }
|
|
122781
|
+
_selection = _r$10;
|
|
122782
|
+
/* */ if (_selection[0] === 0) { $s = 26; continue; }
|
|
122783
|
+
/* */ if (_selection[0] === 1) { $s = 27; continue; }
|
|
122784
|
+
/* */ if (_selection[0] === 2) { $s = 28; continue; }
|
|
122785
|
+
/* */ $s = 29; continue;
|
|
122786
|
+
/* if (_selection[0] === 0) { */ case 26:
|
|
122722
122787
|
$s = -1; return http2errClientDisconnected;
|
|
122723
|
-
/* } else if (_selection[0] === 1) { */ case
|
|
122788
|
+
/* } else if (_selection[0] === 1) { */ case 27:
|
|
122724
122789
|
$s = -1; return http2errStreamClosed;
|
|
122725
|
-
/* } else if (_selection[0] === 2) { */ case
|
|
122726
|
-
/* } */ case
|
|
122727
|
-
_r$
|
|
122728
|
-
_selection$1 = _r$
|
|
122790
|
+
/* } else if (_selection[0] === 2) { */ case 28:
|
|
122791
|
+
/* } */ case 29:
|
|
122792
|
+
_r$11 = $select([[sc.doneServing], [st.cw], [msg.done]]); /* */ $s = 30; case 30: if($c) { $c = false; _r$11 = _r$11.$blk(); } if (_r$11 && _r$11.$blk !== undefined) { break s; }
|
|
122793
|
+
_selection$1 = _r$11;
|
|
122729
122794
|
if (_selection$1[0] === 0) {
|
|
122730
122795
|
$s = -1; return http2errClientDisconnected;
|
|
122731
122796
|
} else if (_selection$1[0] === 1) {
|
|
@@ -122736,7 +122801,7 @@ $packages["net/http"] = (function() {
|
|
|
122736
122801
|
$s = -1; return err$2;
|
|
122737
122802
|
}
|
|
122738
122803
|
$s = -1; return $ifaceNil;
|
|
122739
|
-
/* */ } return; } if ($f === undefined) { $f = { $blk: http2responseWriter.ptr.prototype.Push }; } $f.
|
|
122804
|
+
/* */ } return; } if ($f === undefined) { $f = { $blk: http2responseWriter.ptr.prototype.Push }; } $f._entry = _entry; $f._i = _i; $f._keys = _keys; $f._r$10 = _r$10; $f._r$11 = _r$11; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._r$5 = _r$5; $f._r$6 = _r$6; $f._r$7 = _r$7; $f._r$8 = _r$8; $f._r$9 = _r$9; $f._ref = _ref; $f._selection = _selection; $f._selection$1 = _selection$1; $f._tuple = _tuple; $f.err = err; $f.err$1 = err$1; $f.err$2 = err$2; $f.k = k; $f.msg = msg; $f.opts = opts; $f.sc = sc; $f.st = st; $f.target = target; $f.u = u; $f.w = w; $f.wantScheme = wantScheme; $f.$s = $s; $f.$r = $r; return $f;
|
|
122740
122805
|
};
|
|
122741
122806
|
http2responseWriter.prototype.Push = function(target, opts) { return this.$val.Push(target, opts); };
|
|
122742
122807
|
http2serverConn.ptr.prototype.startPush = function(msg) {
|
|
@@ -123229,8 +123294,8 @@ $packages["net/http"] = (function() {
|
|
|
123229
123294
|
};
|
|
123230
123295
|
http2writeWindowUpdate.prototype.writeFrame = function(ctx) { return this.$val.writeFrame(ctx); };
|
|
123231
123296
|
http2encodeHeaders = function(enc, h, keys) {
|
|
123232
|
-
var _entry, _i, _i$1, _r$2, _r$3, _r$4, _ref, _ref$1, enc, h, isTE, k, keys, sorter, v, vv, $s, $deferred, $r;
|
|
123233
|
-
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _i = $f._i; _i$1 = $f._i$1; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _ref = $f._ref; _ref$1 = $f._ref$1; enc = $f.enc; h = $f.h; isTE = $f.isTE; k = $f.k; keys = $f.keys; sorter = $f.sorter; v = $f.v; vv = $f.vv; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
|
|
123297
|
+
var _entry, _i, _i$1, _r$2, _r$3, _r$4, _ref, _ref$1, _tuple, ascii, enc, h, isTE, k, k$1, keys, sorter, v, vv, $s, $deferred, $r;
|
|
123298
|
+
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _i = $f._i; _i$1 = $f._i$1; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _ref = $f._ref; _ref$1 = $f._ref$1; _tuple = $f._tuple; ascii = $f.ascii; enc = $f.enc; h = $f.h; isTE = $f.isTE; k = $f.k; k$1 = $f.k$1; keys = $f.keys; sorter = $f.sorter; v = $f.v; vv = $f.vv; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
|
|
123234
123299
|
/* */ if (keys === sliceType$2.nil) { $s = 1; continue; }
|
|
123235
123300
|
/* */ $s = 2; continue;
|
|
123236
123301
|
/* if (keys === sliceType$2.nil) { */ case 1:
|
|
@@ -123247,38 +123312,46 @@ $packages["net/http"] = (function() {
|
|
|
123247
123312
|
k = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
|
|
123248
123313
|
vv = (_entry = h[$String.keyFor(k)], _entry !== undefined ? _entry.v : sliceType$2.nil);
|
|
123249
123314
|
_r$4 = http2lowerHeader(k); /* */ $s = 7; case 7: if($c) { $c = false; _r$4 = _r$4.$blk(); } if (_r$4 && _r$4.$blk !== undefined) { break s; }
|
|
123250
|
-
|
|
123251
|
-
|
|
123315
|
+
_tuple = _r$4;
|
|
123316
|
+
k$1 = _tuple[0];
|
|
123317
|
+
ascii = _tuple[1];
|
|
123318
|
+
/* */ if (!ascii) { $s = 8; continue; }
|
|
123252
123319
|
/* */ $s = 9; continue;
|
|
123253
|
-
/* if (!
|
|
123320
|
+
/* if (!ascii) { */ case 8:
|
|
123254
123321
|
_i++;
|
|
123255
123322
|
/* continue; */ $s = 5; continue;
|
|
123256
123323
|
/* } */ case 9:
|
|
123257
|
-
|
|
123324
|
+
/* */ if (!http2validWireHeaderFieldName(k$1)) { $s = 10; continue; }
|
|
123325
|
+
/* */ $s = 11; continue;
|
|
123326
|
+
/* if (!http2validWireHeaderFieldName(k$1)) { */ case 10:
|
|
123327
|
+
_i++;
|
|
123328
|
+
/* continue; */ $s = 5; continue;
|
|
123329
|
+
/* } */ case 11:
|
|
123330
|
+
isTE = k$1 === "transfer-encoding";
|
|
123258
123331
|
_ref$1 = vv;
|
|
123259
123332
|
_i$1 = 0;
|
|
123260
|
-
/* while (true) { */ case
|
|
123261
|
-
/* if (!(_i$1 < _ref$1.$length)) { break; } */ if(!(_i$1 < _ref$1.$length)) { $s =
|
|
123333
|
+
/* while (true) { */ case 12:
|
|
123334
|
+
/* if (!(_i$1 < _ref$1.$length)) { break; } */ if(!(_i$1 < _ref$1.$length)) { $s = 13; continue; }
|
|
123262
123335
|
v = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
|
|
123263
|
-
/* */ if (!httpguts.ValidHeaderFieldValue(v)) { $s =
|
|
123264
|
-
/* */ $s = 13; continue;
|
|
123265
|
-
/* if (!httpguts.ValidHeaderFieldValue(v)) { */ case 12:
|
|
123266
|
-
_i$1++;
|
|
123267
|
-
/* continue; */ $s = 10; continue;
|
|
123268
|
-
/* } */ case 13:
|
|
123269
|
-
/* */ if (isTE && !(v === "trailers")) { $s = 14; continue; }
|
|
123336
|
+
/* */ if (!httpguts.ValidHeaderFieldValue(v)) { $s = 14; continue; }
|
|
123270
123337
|
/* */ $s = 15; continue;
|
|
123271
|
-
/* if (
|
|
123338
|
+
/* if (!httpguts.ValidHeaderFieldValue(v)) { */ case 14:
|
|
123272
123339
|
_i$1++;
|
|
123273
|
-
/* continue; */ $s =
|
|
123340
|
+
/* continue; */ $s = 12; continue;
|
|
123274
123341
|
/* } */ case 15:
|
|
123275
|
-
|
|
123342
|
+
/* */ if (isTE && !(v === "trailers")) { $s = 16; continue; }
|
|
123343
|
+
/* */ $s = 17; continue;
|
|
123344
|
+
/* if (isTE && !(v === "trailers")) { */ case 16:
|
|
123345
|
+
_i$1++;
|
|
123346
|
+
/* continue; */ $s = 12; continue;
|
|
123347
|
+
/* } */ case 17:
|
|
123348
|
+
$r = http2encKV(enc, k$1, v); /* */ $s = 18; case 18: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
123276
123349
|
_i$1++;
|
|
123277
|
-
/* } */ $s =
|
|
123350
|
+
/* } */ $s = 12; continue; case 13:
|
|
123278
123351
|
_i++;
|
|
123279
123352
|
/* } */ $s = 5; continue; case 6:
|
|
123280
123353
|
$s = -1; return;
|
|
123281
|
-
/* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: http2encodeHeaders }; } $f._entry = _entry; $f._i = _i; $f._i$1 = _i$1; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._ref = _ref; $f._ref$1 = _ref$1; $f.enc = enc; $f.h = h; $f.isTE = isTE; $f.k = k; $f.keys = keys; $f.sorter = sorter; $f.v = v; $f.vv = vv; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
|
|
123354
|
+
/* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: http2encodeHeaders }; } $f._entry = _entry; $f._i = _i; $f._i$1 = _i$1; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._ref = _ref; $f._ref$1 = _ref$1; $f._tuple = _tuple; $f.ascii = ascii; $f.enc = enc; $f.h = h; $f.isTE = isTE; $f.k = k; $f.k$1 = k$1; $f.keys = keys; $f.sorter = sorter; $f.v = v; $f.vv = vv; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
|
|
123282
123355
|
};
|
|
123283
123356
|
http2FrameWriteRequest.ptr.prototype.StreamID = function() {
|
|
123284
123357
|
var _tuple, ok, se, wr;
|
|
@@ -123457,16 +123530,16 @@ $packages["net/http"] = (function() {
|
|
|
123457
123530
|
}
|
|
123458
123531
|
x$4 = ln - 1 >> 0;
|
|
123459
123532
|
q = (x$5 = p.$get(), ((x$4 < 0 || x$4 >= x$5.$length) ? ($throwRuntimeError("index out of range"), undefined) : x$5.$array[x$5.$offset + x$4]));
|
|
123460
|
-
(x$6 = p.$get(), ((x$4 < 0 || x$4 >= x$6.$length) ? ($throwRuntimeError("index out of range"), undefined) : x$6.$array[x$6.$offset + x$4] = ptrType$
|
|
123533
|
+
(x$6 = p.$get(), ((x$4 < 0 || x$4 >= x$6.$length) ? ($throwRuntimeError("index out of range"), undefined) : x$6.$array[x$6.$offset + x$4] = ptrType$81.nil));
|
|
123461
123534
|
p.$set($subslice((p.$get()), 0, x$4));
|
|
123462
123535
|
return q;
|
|
123463
123536
|
};
|
|
123464
123537
|
http2NewPriorityWriteScheduler = function(cfg) {
|
|
123465
123538
|
var _key, cfg, ws;
|
|
123466
|
-
if (cfg === ptrType$
|
|
123539
|
+
if (cfg === ptrType$82.nil) {
|
|
123467
123540
|
cfg = new http2PriorityWriteSchedulerConfig.ptr(10, 10, false);
|
|
123468
123541
|
}
|
|
123469
|
-
ws = new http2priorityWriteScheduler.ptr(new http2priorityNode.ptr(new http2writeQueue.ptr(sliceType$24.nil), 0, 0, 0, new $Int64(0, 0), new $Int64(0, 0), ptrType$
|
|
123542
|
+
ws = new http2priorityWriteScheduler.ptr(new http2priorityNode.ptr(new http2writeQueue.ptr(sliceType$24.nil), 0, 0, 0, new $Int64(0, 0), new $Int64(0, 0), ptrType$83.nil, ptrType$83.nil, ptrType$83.nil, ptrType$83.nil), {}, 0, sliceType$25.nil, sliceType$25.nil, cfg.MaxClosedNodesInTree, cfg.MaxIdleNodesInTree, 0, cfg.ThrottleOutOfOrderWrites, sliceType$25.nil, http2writeQueuePool.nil);
|
|
123470
123543
|
_key = 0; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: ws.root };
|
|
123471
123544
|
if (cfg.ThrottleOutOfOrderWrites) {
|
|
123472
123545
|
ws.writeThrottleLimit = 1024;
|
|
@@ -123485,24 +123558,24 @@ $packages["net/http"] = (function() {
|
|
|
123485
123558
|
return;
|
|
123486
123559
|
}
|
|
123487
123560
|
parent$1 = n.parent;
|
|
123488
|
-
if (!(parent$1 === ptrType$
|
|
123489
|
-
if (n.prev === ptrType$
|
|
123561
|
+
if (!(parent$1 === ptrType$83.nil)) {
|
|
123562
|
+
if (n.prev === ptrType$83.nil) {
|
|
123490
123563
|
parent$1.kids = n.next;
|
|
123491
123564
|
} else {
|
|
123492
123565
|
n.prev.next = n.next;
|
|
123493
123566
|
}
|
|
123494
|
-
if (!(n.next === ptrType$
|
|
123567
|
+
if (!(n.next === ptrType$83.nil)) {
|
|
123495
123568
|
n.next.prev = n.prev;
|
|
123496
123569
|
}
|
|
123497
123570
|
}
|
|
123498
123571
|
n.parent = parent;
|
|
123499
|
-
if (parent === ptrType$
|
|
123500
|
-
n.next = ptrType$
|
|
123501
|
-
n.prev = ptrType$
|
|
123572
|
+
if (parent === ptrType$83.nil) {
|
|
123573
|
+
n.next = ptrType$83.nil;
|
|
123574
|
+
n.prev = ptrType$83.nil;
|
|
123502
123575
|
} else {
|
|
123503
123576
|
n.next = parent.kids;
|
|
123504
|
-
n.prev = ptrType$
|
|
123505
|
-
if (!(n.next === ptrType$
|
|
123577
|
+
n.prev = ptrType$83.nil;
|
|
123578
|
+
if (!(n.next === ptrType$83.nil)) {
|
|
123506
123579
|
n.next.prev = n;
|
|
123507
123580
|
}
|
|
123508
123581
|
parent.kids = n;
|
|
@@ -123514,7 +123587,7 @@ $packages["net/http"] = (function() {
|
|
|
123514
123587
|
n = this;
|
|
123515
123588
|
n.bytes = (x$4 = n.bytes, x$5 = b, new $Int64(x$4.$high + x$5.$high, x$4.$low + x$5.$low));
|
|
123516
123589
|
while (true) {
|
|
123517
|
-
if (!(!(n === ptrType$
|
|
123590
|
+
if (!(!(n === ptrType$83.nil))) { break; }
|
|
123518
123591
|
n.subtreeBytes = (x$6 = n.subtreeBytes, x$7 = b, new $Int64(x$6.$high + x$7.$high, x$6.$low + x$7.$low));
|
|
123519
123592
|
n = n.parent;
|
|
123520
123593
|
}
|
|
@@ -123532,7 +123605,7 @@ $packages["net/http"] = (function() {
|
|
|
123532
123605
|
/* if (_v) { */ case 1:
|
|
123533
123606
|
$s = -1; return true;
|
|
123534
123607
|
/* } */ case 2:
|
|
123535
|
-
if (n.kids === ptrType$
|
|
123608
|
+
if (n.kids === ptrType$83.nil) {
|
|
123536
123609
|
$s = -1; return false;
|
|
123537
123610
|
}
|
|
123538
123611
|
if (!((n.id === 0))) {
|
|
@@ -123542,7 +123615,7 @@ $packages["net/http"] = (function() {
|
|
|
123542
123615
|
needSort = false;
|
|
123543
123616
|
k = n.kids.next;
|
|
123544
123617
|
while (true) {
|
|
123545
|
-
if (!(!(k === ptrType$
|
|
123618
|
+
if (!(!(k === ptrType$83.nil))) { break; }
|
|
123546
123619
|
if (!((k.weight === w))) {
|
|
123547
123620
|
needSort = true;
|
|
123548
123621
|
break;
|
|
@@ -123554,7 +123627,7 @@ $packages["net/http"] = (function() {
|
|
|
123554
123627
|
/* if (!needSort) { */ case 5:
|
|
123555
123628
|
k$1 = n.kids;
|
|
123556
123629
|
/* while (true) { */ case 7:
|
|
123557
|
-
/* if (!(!(k$1 === ptrType$
|
|
123630
|
+
/* if (!(!(k$1 === ptrType$83.nil))) { break; } */ if(!(!(k$1 === ptrType$83.nil))) { $s = 8; continue; }
|
|
123558
123631
|
_r$3 = k$1.walkReadyInOrder(openParent, tmp, f); /* */ $s = 11; case 11: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
|
|
123559
123632
|
/* */ if (_r$3) { $s = 9; continue; }
|
|
123560
123633
|
/* */ $s = 10; continue;
|
|
@@ -123567,9 +123640,9 @@ $packages["net/http"] = (function() {
|
|
|
123567
123640
|
/* } */ case 6:
|
|
123568
123641
|
tmp.$set($subslice((tmp.$get()), 0, 0));
|
|
123569
123642
|
while (true) {
|
|
123570
|
-
if (!(!(n.kids === ptrType$
|
|
123643
|
+
if (!(!(n.kids === ptrType$83.nil))) { break; }
|
|
123571
123644
|
tmp.$set($append(tmp.$get(), n.kids));
|
|
123572
|
-
n.kids.setParent(ptrType$
|
|
123645
|
+
n.kids.setParent(ptrType$83.nil);
|
|
123573
123646
|
}
|
|
123574
123647
|
$r = sort.Sort(((x$4 = tmp.$get(), $subslice(new http2sortPriorityNodeSiblings(x$4.$array), x$4.$offset, x$4.$offset + x$4.$length)))); /* */ $s = 12; case 12: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
123575
123648
|
i = tmp.$get().$length - 1 >> 0;
|
|
@@ -123580,7 +123653,7 @@ $packages["net/http"] = (function() {
|
|
|
123580
123653
|
}
|
|
123581
123654
|
k$2 = n.kids;
|
|
123582
123655
|
/* while (true) { */ case 13:
|
|
123583
|
-
/* if (!(!(k$2 === ptrType$
|
|
123656
|
+
/* if (!(!(k$2 === ptrType$83.nil))) { break; } */ if(!(!(k$2 === ptrType$83.nil))) { $s = 14; continue; }
|
|
123584
123657
|
_r$4 = k$2.walkReadyInOrder(openParent, tmp, f); /* */ $s = 17; case 17: if($c) { $c = false; _r$4 = _r$4.$blk(); } if (_r$4 && _r$4.$blk !== undefined) { break s; }
|
|
123585
123658
|
/* */ if (_r$4) { $s = 15; continue; }
|
|
123586
123659
|
/* */ $s = 16; continue;
|
|
@@ -123632,10 +123705,10 @@ $packages["net/http"] = (function() {
|
|
|
123632
123705
|
var _entry, _entry$1, _key, _r$2, curr, n, options, parent, streamID, ws, $s, $r;
|
|
123633
123706
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _entry$1 = $f._entry$1; _key = $f._key; _r$2 = $f._r$2; curr = $f.curr; n = $f.n; options = $f.options; parent = $f.parent; streamID = $f.streamID; ws = $f.ws; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
123634
123707
|
ws = this;
|
|
123635
|
-
curr = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$
|
|
123636
|
-
/* */ if (!(curr === ptrType$
|
|
123708
|
+
curr = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil);
|
|
123709
|
+
/* */ if (!(curr === ptrType$83.nil)) { $s = 1; continue; }
|
|
123637
123710
|
/* */ $s = 2; continue;
|
|
123638
|
-
/* if (!(curr === ptrType$
|
|
123711
|
+
/* if (!(curr === ptrType$83.nil)) { */ case 1:
|
|
123639
123712
|
/* */ if (!((curr.state === 2))) { $s = 3; continue; }
|
|
123640
123713
|
/* */ $s = 4; continue;
|
|
123641
123714
|
/* if (!((curr.state === 2))) { */ case 3:
|
|
@@ -123645,11 +123718,11 @@ $packages["net/http"] = (function() {
|
|
|
123645
123718
|
curr.state = 0;
|
|
123646
123719
|
$s = -1; return;
|
|
123647
123720
|
/* } */ case 2:
|
|
123648
|
-
parent = (_entry$1 = ws.nodes[$Uint32.keyFor(options.PusherID)], _entry$1 !== undefined ? _entry$1.v : ptrType$
|
|
123649
|
-
if (parent === ptrType$
|
|
123721
|
+
parent = (_entry$1 = ws.nodes[$Uint32.keyFor(options.PusherID)], _entry$1 !== undefined ? _entry$1.v : ptrType$83.nil);
|
|
123722
|
+
if (parent === ptrType$83.nil) {
|
|
123650
123723
|
parent = ws.root;
|
|
123651
123724
|
}
|
|
123652
|
-
n = new http2priorityNode.ptr($clone((ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$
|
|
123725
|
+
n = new http2priorityNode.ptr($clone((ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).get(), http2writeQueue), streamID, 15, 0, new $Int64(0, 0), new $Int64(0, 0), ptrType$83.nil, ptrType$83.nil, ptrType$83.nil, ptrType$83.nil);
|
|
123653
123726
|
n.setParent(parent);
|
|
123654
123727
|
_key = streamID; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: n };
|
|
123655
123728
|
if (streamID > ws.maxID) {
|
|
@@ -123667,26 +123740,26 @@ $packages["net/http"] = (function() {
|
|
|
123667
123740
|
if (streamID === 0) {
|
|
123668
123741
|
$panic(new $String("violation of WriteScheduler interface: cannot close stream 0"));
|
|
123669
123742
|
}
|
|
123670
|
-
/* */ if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$
|
|
123743
|
+
/* */ if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil) === ptrType$83.nil) { $s = 1; continue; }
|
|
123671
123744
|
/* */ $s = 2; continue;
|
|
123672
|
-
/* if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$
|
|
123745
|
+
/* if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil) === ptrType$83.nil) { */ case 1:
|
|
123673
123746
|
_r$2 = fmt.Sprintf("violation of WriteScheduler interface: unknown stream %d", new sliceType([new $Uint32(streamID)])); /* */ $s = 3; case 3: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
123674
123747
|
$panic(new $String(_r$2));
|
|
123675
123748
|
/* } */ case 2:
|
|
123676
|
-
/* */ if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$
|
|
123749
|
+
/* */ if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$83.nil).state === 0))) { $s = 4; continue; }
|
|
123677
123750
|
/* */ $s = 5; continue;
|
|
123678
|
-
/* if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$
|
|
123751
|
+
/* if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$83.nil).state === 0))) { */ case 4:
|
|
123679
123752
|
_r$3 = fmt.Sprintf("violation of WriteScheduler interface: stream %d already closed", new sliceType([new $Uint32(streamID)])); /* */ $s = 6; case 6: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
|
|
123680
123753
|
$panic(new $String(_r$3));
|
|
123681
123754
|
/* } */ case 5:
|
|
123682
|
-
n = (_entry$2 = ws.nodes[$Uint32.keyFor(streamID)], _entry$2 !== undefined ? _entry$2.v : ptrType$
|
|
123755
|
+
n = (_entry$2 = ws.nodes[$Uint32.keyFor(streamID)], _entry$2 !== undefined ? _entry$2.v : ptrType$83.nil);
|
|
123683
123756
|
n.state = 1;
|
|
123684
123757
|
n.addBytes((x$4 = n.bytes, new $Int64(-x$4.$high, -x$4.$low)));
|
|
123685
123758
|
q[0] = $clone(n.q, http2writeQueue);
|
|
123686
|
-
(ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$
|
|
123759
|
+
(ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q[0]);
|
|
123687
123760
|
n.q.s = sliceType$24.nil;
|
|
123688
123761
|
if (ws.maxClosedNodesInTree > 0) {
|
|
123689
|
-
ws.addClosedOrIdleNode((ws.$ptr_closedNodes || (ws.$ptr_closedNodes = new ptrType$
|
|
123762
|
+
ws.addClosedOrIdleNode((ws.$ptr_closedNodes || (ws.$ptr_closedNodes = new ptrType$85(function() { return this.$target.closedNodes; }, function($v) { this.$target.closedNodes = $v; }, ws))), ws.maxClosedNodesInTree, n);
|
|
123690
123763
|
} else {
|
|
123691
123764
|
ws.removeNode(n);
|
|
123692
123765
|
}
|
|
@@ -123700,19 +123773,19 @@ $packages["net/http"] = (function() {
|
|
|
123700
123773
|
if (streamID === 0) {
|
|
123701
123774
|
$panic(new $String("adjustPriority on root"));
|
|
123702
123775
|
}
|
|
123703
|
-
n = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$
|
|
123704
|
-
if (n === ptrType$
|
|
123776
|
+
n = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil);
|
|
123777
|
+
if (n === ptrType$83.nil) {
|
|
123705
123778
|
if (streamID <= ws.maxID || (ws.maxIdleNodesInTree === 0)) {
|
|
123706
123779
|
return;
|
|
123707
123780
|
}
|
|
123708
123781
|
ws.maxID = streamID;
|
|
123709
|
-
n = new http2priorityNode.ptr($clone((ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$
|
|
123782
|
+
n = new http2priorityNode.ptr($clone((ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).get(), http2writeQueue), streamID, 15, 2, new $Int64(0, 0), new $Int64(0, 0), ptrType$83.nil, ptrType$83.nil, ptrType$83.nil, ptrType$83.nil);
|
|
123710
123783
|
n.setParent(ws.root);
|
|
123711
123784
|
_key = streamID; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: n };
|
|
123712
|
-
ws.addClosedOrIdleNode((ws.$ptr_idleNodes || (ws.$ptr_idleNodes = new ptrType$
|
|
123785
|
+
ws.addClosedOrIdleNode((ws.$ptr_idleNodes || (ws.$ptr_idleNodes = new ptrType$85(function() { return this.$target.idleNodes; }, function($v) { this.$target.idleNodes = $v; }, ws))), ws.maxIdleNodesInTree, n);
|
|
123713
123786
|
}
|
|
123714
|
-
parent = (_entry$1 = ws.nodes[$Uint32.keyFor(priority.StreamDep)], _entry$1 !== undefined ? _entry$1.v : ptrType$
|
|
123715
|
-
if (parent === ptrType$
|
|
123787
|
+
parent = (_entry$1 = ws.nodes[$Uint32.keyFor(priority.StreamDep)], _entry$1 !== undefined ? _entry$1.v : ptrType$83.nil);
|
|
123788
|
+
if (parent === ptrType$83.nil) {
|
|
123716
123789
|
n.setParent(ws.root);
|
|
123717
123790
|
n.weight = 15;
|
|
123718
123791
|
return;
|
|
@@ -123722,7 +123795,7 @@ $packages["net/http"] = (function() {
|
|
|
123722
123795
|
}
|
|
123723
123796
|
x$4 = parent.parent;
|
|
123724
123797
|
while (true) {
|
|
123725
|
-
if (!(!(x$4 === ptrType$
|
|
123798
|
+
if (!(!(x$4 === ptrType$83.nil))) { break; }
|
|
123726
123799
|
if (x$4 === n) {
|
|
123727
123800
|
parent.setParent(n.parent);
|
|
123728
123801
|
break;
|
|
@@ -123732,7 +123805,7 @@ $packages["net/http"] = (function() {
|
|
|
123732
123805
|
if (priority.Exclusive) {
|
|
123733
123806
|
k = parent.kids;
|
|
123734
123807
|
while (true) {
|
|
123735
|
-
if (!(!(k === ptrType$
|
|
123808
|
+
if (!(!(k === ptrType$83.nil))) { break; }
|
|
123736
123809
|
next = k.next;
|
|
123737
123810
|
if (!(k === n)) {
|
|
123738
123811
|
k.setParent(n);
|
|
@@ -123747,13 +123820,13 @@ $packages["net/http"] = (function() {
|
|
|
123747
123820
|
http2priorityWriteScheduler.ptr.prototype.Push = function(wr) {
|
|
123748
123821
|
var _entry, id, n, wr, ws;
|
|
123749
123822
|
ws = this;
|
|
123750
|
-
n = ptrType$
|
|
123823
|
+
n = ptrType$83.nil;
|
|
123751
123824
|
id = $clone(wr, http2FrameWriteRequest).StreamID();
|
|
123752
123825
|
if (id === 0) {
|
|
123753
123826
|
n = ws.root;
|
|
123754
123827
|
} else {
|
|
123755
|
-
n = (_entry = ws.nodes[$Uint32.keyFor(id)], _entry !== undefined ? _entry.v : ptrType$
|
|
123756
|
-
if (n === ptrType$
|
|
123828
|
+
n = (_entry = ws.nodes[$Uint32.keyFor(id)], _entry !== undefined ? _entry.v : ptrType$83.nil);
|
|
123829
|
+
if (n === ptrType$83.nil) {
|
|
123757
123830
|
if ($clone(wr, http2FrameWriteRequest).DataSize() > 0) {
|
|
123758
123831
|
$panic(new $String("add DATA on non-open stream"));
|
|
123759
123832
|
}
|
|
@@ -123772,7 +123845,7 @@ $packages["net/http"] = (function() {
|
|
|
123772
123845
|
wr[0] = new http2FrameWriteRequest.ptr($ifaceNil, ptrType$5.nil, $chanNil);
|
|
123773
123846
|
ok[0] = false;
|
|
123774
123847
|
ws[0] = this;
|
|
123775
|
-
_r$2 = ws[0].root.walkReadyInOrder(false, (ws[0].$ptr_tmp || (ws[0].$ptr_tmp = new ptrType$
|
|
123848
|
+
_r$2 = ws[0].root.walkReadyInOrder(false, (ws[0].$ptr_tmp || (ws[0].$ptr_tmp = new ptrType$85(function() { return this.$target.tmp; }, function($v) { this.$target.tmp = $v; }, ws[0]))), (function(ok, wr, ws) { return function(n, openParent) {
|
|
123776
123849
|
var _tuple, limit, n, openParent;
|
|
123777
123850
|
limit = 2147483647;
|
|
123778
123851
|
if (openParent) {
|
|
@@ -123824,11 +123897,11 @@ $packages["net/http"] = (function() {
|
|
|
123824
123897
|
ws = this;
|
|
123825
123898
|
k = n.kids;
|
|
123826
123899
|
while (true) {
|
|
123827
|
-
if (!(!(k === ptrType$
|
|
123900
|
+
if (!(!(k === ptrType$83.nil))) { break; }
|
|
123828
123901
|
k.setParent(n.parent);
|
|
123829
123902
|
k = k.next;
|
|
123830
123903
|
}
|
|
123831
|
-
n.setParent(ptrType$
|
|
123904
|
+
n.setParent(ptrType$83.nil);
|
|
123832
123905
|
delete ws.nodes[$Uint32.keyFor(n.id)];
|
|
123833
123906
|
};
|
|
123834
123907
|
http2priorityWriteScheduler.prototype.removeNode = function(n) { return this.$val.removeNode(n); };
|
|
@@ -123843,14 +123916,14 @@ $packages["net/http"] = (function() {
|
|
|
123843
123916
|
http2randomWriteScheduler.ptr.prototype.CloseStream = function(streamID) {
|
|
123844
123917
|
var _entry, _tuple, ok, q, streamID, ws;
|
|
123845
123918
|
ws = this;
|
|
123846
|
-
_tuple = (_entry = ws.sq[$Uint32.keyFor(streamID)], _entry !== undefined ? [_entry.v, true] : [ptrType$
|
|
123919
|
+
_tuple = (_entry = ws.sq[$Uint32.keyFor(streamID)], _entry !== undefined ? [_entry.v, true] : [ptrType$81.nil, false]);
|
|
123847
123920
|
q = _tuple[0];
|
|
123848
123921
|
ok = _tuple[1];
|
|
123849
123922
|
if (!ok) {
|
|
123850
123923
|
return;
|
|
123851
123924
|
}
|
|
123852
123925
|
delete ws.sq[$Uint32.keyFor(streamID)];
|
|
123853
|
-
(ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$
|
|
123926
|
+
(ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q);
|
|
123854
123927
|
};
|
|
123855
123928
|
http2randomWriteScheduler.prototype.CloseStream = function(streamID) { return this.$val.CloseStream(streamID); };
|
|
123856
123929
|
http2randomWriteScheduler.ptr.prototype.AdjustStream = function(streamID, priority) {
|
|
@@ -123866,11 +123939,11 @@ $packages["net/http"] = (function() {
|
|
|
123866
123939
|
ws.zero.push($clone(wr, http2FrameWriteRequest));
|
|
123867
123940
|
return;
|
|
123868
123941
|
}
|
|
123869
|
-
_tuple = (_entry = ws.sq[$Uint32.keyFor(id)], _entry !== undefined ? [_entry.v, true] : [ptrType$
|
|
123942
|
+
_tuple = (_entry = ws.sq[$Uint32.keyFor(id)], _entry !== undefined ? [_entry.v, true] : [ptrType$81.nil, false]);
|
|
123870
123943
|
q = _tuple[0];
|
|
123871
123944
|
ok = _tuple[1];
|
|
123872
123945
|
if (!ok) {
|
|
123873
|
-
q = (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$
|
|
123946
|
+
q = (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).get();
|
|
123874
123947
|
_key = id; (ws.sq || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: q };
|
|
123875
123948
|
}
|
|
123876
123949
|
q.push($clone(wr, http2FrameWriteRequest));
|
|
@@ -123900,7 +123973,7 @@ $packages["net/http"] = (function() {
|
|
|
123900
123973
|
if (ok) {
|
|
123901
123974
|
if (q.empty()) {
|
|
123902
123975
|
delete ws.sq[$Uint32.keyFor(streamID)];
|
|
123903
|
-
(ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$
|
|
123976
|
+
(ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q);
|
|
123904
123977
|
}
|
|
123905
123978
|
return [wr, true];
|
|
123906
123979
|
}
|
|
@@ -124072,10 +124145,10 @@ $packages["net/http"] = (function() {
|
|
|
124072
124145
|
var _entry, _entry$1, _i, _keys, _r$2, _ref, _tmp, _tmp$1, exclude, h, hs, k, kvs, vv, $s, $r;
|
|
124073
124146
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _entry$1 = $f._entry$1; _i = $f._i; _keys = $f._keys; _r$2 = $f._r$2; _ref = $f._ref; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; exclude = $f.exclude; h = $f.h; hs = $f.hs; k = $f.k; kvs = $f.kvs; vv = $f.vv; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
124074
124147
|
kvs = sliceType$5.nil;
|
|
124075
|
-
hs = ptrType$
|
|
124148
|
+
hs = ptrType$86.nil;
|
|
124076
124149
|
h = this.$val;
|
|
124077
124150
|
_r$2 = headerSorterPool.Get(); /* */ $s = 1; case 1: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
124078
|
-
hs = $assertType(_r$2, ptrType$
|
|
124151
|
+
hs = $assertType(_r$2, ptrType$86);
|
|
124079
124152
|
if (hs.kvs.$capacity < $keys(h).length) {
|
|
124080
124153
|
hs.kvs = $makeSlice(sliceType$5, 0, $keys(h).length);
|
|
124081
124154
|
}
|
|
@@ -124440,10 +124513,10 @@ $packages["net/http"] = (function() {
|
|
|
124440
124513
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; r = $f.r; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
124441
124514
|
r = this;
|
|
124442
124515
|
if (r.MultipartForm === multipartByReader) {
|
|
124443
|
-
$s = -1; return [ptrType$
|
|
124516
|
+
$s = -1; return [ptrType$87.nil, errors.New("http: MultipartReader called twice")];
|
|
124444
124517
|
}
|
|
124445
124518
|
if (!(r.MultipartForm === ptrType$20.nil)) {
|
|
124446
|
-
$s = -1; return [ptrType$
|
|
124519
|
+
$s = -1; return [ptrType$87.nil, errors.New("http: multipart handled by ParseMultipartForm")];
|
|
124447
124520
|
}
|
|
124448
124521
|
r.MultipartForm = multipartByReader;
|
|
124449
124522
|
_r$2 = r.multipartReader(true); /* */ $s = 1; case 1: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
@@ -124458,7 +124531,7 @@ $packages["net/http"] = (function() {
|
|
|
124458
124531
|
_r$2 = new Header(r.Header).Get("Content-Type"); /* */ $s = 1; case 1: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
124459
124532
|
v = _r$2;
|
|
124460
124533
|
if (v === "") {
|
|
124461
|
-
$s = -1; return [ptrType$
|
|
124534
|
+
$s = -1; return [ptrType$87.nil, $pkg.ErrNotMultipart];
|
|
124462
124535
|
}
|
|
124463
124536
|
_r$3 = mime.ParseMediaType(v); /* */ $s = 2; case 2: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
|
|
124464
124537
|
_tuple = _r$3;
|
|
@@ -124466,13 +124539,13 @@ $packages["net/http"] = (function() {
|
|
|
124466
124539
|
params = _tuple[1];
|
|
124467
124540
|
err = _tuple[2];
|
|
124468
124541
|
if (!($interfaceIsEqual(err, $ifaceNil)) || !(d === "multipart/form-data" || allowMixed && d === "multipart/mixed")) {
|
|
124469
|
-
$s = -1; return [ptrType$
|
|
124542
|
+
$s = -1; return [ptrType$87.nil, $pkg.ErrNotMultipart];
|
|
124470
124543
|
}
|
|
124471
124544
|
_tuple$1 = (_entry = params[$String.keyFor("boundary")], _entry !== undefined ? [_entry.v, true] : ["", false]);
|
|
124472
124545
|
boundary = _tuple$1[0];
|
|
124473
124546
|
ok = _tuple$1[1];
|
|
124474
124547
|
if (!ok) {
|
|
124475
|
-
$s = -1; return [ptrType$
|
|
124548
|
+
$s = -1; return [ptrType$87.nil, $pkg.ErrMissingBoundary];
|
|
124476
124549
|
}
|
|
124477
124550
|
$s = -1; return [multipart.NewReader(r.Body, boundary), $ifaceNil];
|
|
124478
124551
|
/* */ } return; } if ($f === undefined) { $f = { $blk: Request.ptr.prototype.multipartReader }; } $f._entry = _entry; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._tuple = _tuple; $f._tuple$1 = _tuple$1; $f.allowMixed = allowMixed; $f.boundary = boundary; $f.d = d; $f.err = err; $f.ok = ok; $f.params = params; $f.r = r; $f.v = v; $f.$s = $s; $f.$r = $r; return $f;
|
|
@@ -124957,7 +125030,7 @@ $packages["net/http"] = (function() {
|
|
|
124957
125030
|
_r$2 = textprotoReaderPool.Get(); /* */ $s = 1; case 1: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
124958
125031
|
v = _r$2;
|
|
124959
125032
|
if (!($interfaceIsEqual(v, $ifaceNil))) {
|
|
124960
|
-
tr = $assertType(v, ptrType$
|
|
125033
|
+
tr = $assertType(v, ptrType$90);
|
|
124961
125034
|
tr.R = br;
|
|
124962
125035
|
$s = -1; return tr;
|
|
124963
125036
|
}
|
|
@@ -124967,7 +125040,7 @@ $packages["net/http"] = (function() {
|
|
|
124967
125040
|
};
|
|
124968
125041
|
putTextprotoReader = function(r) {
|
|
124969
125042
|
var r;
|
|
124970
|
-
r.R = ptrType$
|
|
125043
|
+
r.R = ptrType$77.nil;
|
|
124971
125044
|
textprotoReaderPool.Put(r);
|
|
124972
125045
|
};
|
|
124973
125046
|
readRequest = function(b, deleteHostHeader) {
|
|
@@ -125211,7 +125284,7 @@ $packages["net/http"] = (function() {
|
|
|
125211
125284
|
/* if (ct === "application/x-www-form-urlencoded") { */ case 4:
|
|
125212
125285
|
reader = r.Body;
|
|
125213
125286
|
maxFormSize = new $Int64(2147483647, 4294967295);
|
|
125214
|
-
_tuple$1 = $assertType(r.Body, ptrType$
|
|
125287
|
+
_tuple$1 = $assertType(r.Body, ptrType$91, true);
|
|
125215
125288
|
ok = _tuple$1[1];
|
|
125216
125289
|
if (!ok) {
|
|
125217
125290
|
maxFormSize = new $Int64(0, 10485760);
|
|
@@ -125655,12 +125728,12 @@ $packages["net/http"] = (function() {
|
|
|
125655
125728
|
var _r$2, _r$3, _r$4, _tmp, _tmp$1, _tmp$2, _tmp$3, _tmp$4, _tmp$5, _tuple, buf, c, err, err$1, rwc, $s, $r;
|
|
125656
125729
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; _tmp$2 = $f._tmp$2; _tmp$3 = $f._tmp$3; _tmp$4 = $f._tmp$4; _tmp$5 = $f._tmp$5; _tuple = $f._tuple; buf = $f.buf; c = $f.c; err = $f.err; err$1 = $f.err$1; rwc = $f.rwc; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
125657
125730
|
rwc = $ifaceNil;
|
|
125658
|
-
buf = ptrType$
|
|
125731
|
+
buf = ptrType$92.nil;
|
|
125659
125732
|
err = $ifaceNil;
|
|
125660
125733
|
c = this;
|
|
125661
125734
|
if (c.hijackedv) {
|
|
125662
125735
|
_tmp = $ifaceNil;
|
|
125663
|
-
_tmp$1 = ptrType$
|
|
125736
|
+
_tmp$1 = ptrType$92.nil;
|
|
125664
125737
|
_tmp$2 = $pkg.ErrHijacked;
|
|
125665
125738
|
rwc = _tmp;
|
|
125666
125739
|
buf = _tmp$1;
|
|
@@ -125683,7 +125756,7 @@ $packages["net/http"] = (function() {
|
|
|
125683
125756
|
/* */ $s = 7; continue;
|
|
125684
125757
|
/* if (!($interfaceIsEqual(err$1, $ifaceNil))) { */ case 6:
|
|
125685
125758
|
_tmp$3 = $ifaceNil;
|
|
125686
|
-
_tmp$4 = ptrType$
|
|
125759
|
+
_tmp$4 = ptrType$92.nil;
|
|
125687
125760
|
_r$4 = fmt.Errorf("unexpected Peek failure reading buffered byte: %v", new sliceType([err$1])); /* */ $s = 8; case 8: if($c) { $c = false; _r$4 = _r$4.$blk(); } if (_r$4 && _r$4.$blk !== undefined) { break s; }
|
|
125688
125761
|
_tmp$5 = _r$4;
|
|
125689
125762
|
rwc = _tmp$3;
|
|
@@ -125845,17 +125918,17 @@ $packages["net/http"] = (function() {
|
|
|
125845
125918
|
$ptrType(atomicBool).prototype.isSet = function() {
|
|
125846
125919
|
var _ptr, b;
|
|
125847
125920
|
b = this;
|
|
125848
|
-
return !((atomic.LoadInt32(((_ptr = b, new ptrType$
|
|
125921
|
+
return !((atomic.LoadInt32(((_ptr = b, new ptrType$93(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target)))) === 0));
|
|
125849
125922
|
};
|
|
125850
125923
|
$ptrType(atomicBool).prototype.setTrue = function() {
|
|
125851
125924
|
var _ptr, b;
|
|
125852
125925
|
b = this;
|
|
125853
|
-
atomic.StoreInt32(((_ptr = b, new ptrType$
|
|
125926
|
+
atomic.StoreInt32(((_ptr = b, new ptrType$93(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target))), 1);
|
|
125854
125927
|
};
|
|
125855
125928
|
$ptrType(atomicBool).prototype.setFalse = function() {
|
|
125856
125929
|
var _ptr, b;
|
|
125857
125930
|
b = this;
|
|
125858
|
-
atomic.StoreInt32(((_ptr = b, new ptrType$
|
|
125931
|
+
atomic.StoreInt32(((_ptr = b, new ptrType$93(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target))), 0);
|
|
125859
125932
|
};
|
|
125860
125933
|
response.ptr.prototype.declareTrailer = function(k) {
|
|
125861
125934
|
var _r$2, _r$3, k, w, $s, $r;
|
|
@@ -125962,7 +126035,7 @@ $packages["net/http"] = (function() {
|
|
|
125962
126035
|
var _r$2, c, rwc, srv, $s, $r;
|
|
125963
126036
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; c = $f.c; rwc = $f.rwc; srv = $f.srv; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
125964
126037
|
srv = this;
|
|
125965
|
-
c = new conn.ptr(srv, $throwNilPointerError, rwc, "", ptrType$21.nil, $ifaceNil, ptrType$
|
|
126038
|
+
c = new conn.ptr(srv, $throwNilPointerError, rwc, "", ptrType$21.nil, $ifaceNil, ptrType$94.nil, ptrType$77.nil, ptrType$9.nil, "", new atomic.Value.ptr($ifaceNil), new structType$2.ptr(new $Uint64(0, 0)), new sync.Mutex.ptr(0, 0), false);
|
|
125966
126039
|
/* */ if (false) { $s = 1; continue; }
|
|
125967
126040
|
/* */ $s = 2; continue;
|
|
125968
126041
|
/* if (false) { */ case 1:
|
|
@@ -125978,7 +126051,7 @@ $packages["net/http"] = (function() {
|
|
|
125978
126051
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; cr = $f.cr; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
125979
126052
|
cr = this;
|
|
125980
126053
|
$r = cr.mu.Lock(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
125981
|
-
if (cr.cond === ptrType$
|
|
126054
|
+
if (cr.cond === ptrType$73.nil) {
|
|
125982
126055
|
cr.cond = sync.NewCond(cr.mu);
|
|
125983
126056
|
}
|
|
125984
126057
|
$s = -1; return;
|
|
@@ -126102,11 +126175,11 @@ $packages["net/http"] = (function() {
|
|
|
126102
126175
|
var _tuple, cr, res, $s, $r;
|
|
126103
126176
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _tuple = $f._tuple; cr = $f.cr; res = $f.res; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
126104
126177
|
cr = this;
|
|
126105
|
-
_tuple = $assertType(cr.conn.curReq.Load(), ptrType$
|
|
126178
|
+
_tuple = $assertType(cr.conn.curReq.Load(), ptrType$95, true);
|
|
126106
126179
|
res = _tuple[0];
|
|
126107
|
-
/* */ if (!(res === ptrType$
|
|
126180
|
+
/* */ if (!(res === ptrType$95.nil) && atomic.CompareAndSwapInt32((res.$ptr_didCloseNotify || (res.$ptr_didCloseNotify = new ptrType$93(function() { return this.$target.didCloseNotify; }, function($v) { this.$target.didCloseNotify = $v; }, res))), 0, 1)) { $s = 1; continue; }
|
|
126108
126181
|
/* */ $s = 2; continue;
|
|
126109
|
-
/* if (!(res === ptrType$
|
|
126182
|
+
/* if (!(res === ptrType$95.nil) && atomic.CompareAndSwapInt32((res.$ptr_didCloseNotify || (res.$ptr_didCloseNotify = new ptrType$93(function() { return this.$target.didCloseNotify; }, function($v) { this.$target.didCloseNotify = $v; }, res))), 0, 1)) { */ case 1:
|
|
126110
126183
|
$r = $send(res.closeNotifyCh, true); /* */ $s = 3; case 3: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
126111
126184
|
/* } */ case 2:
|
|
126112
126185
|
$s = -1; return;
|
|
@@ -126199,7 +126272,7 @@ $packages["net/http"] = (function() {
|
|
|
126199
126272
|
} else if (_1 === (4096)) {
|
|
126200
126273
|
return bufioWriter4kPool;
|
|
126201
126274
|
}
|
|
126202
|
-
return ptrType$
|
|
126275
|
+
return ptrType$96.nil;
|
|
126203
126276
|
};
|
|
126204
126277
|
newBufioReader = function(r) {
|
|
126205
126278
|
var _r$2, br, r, v, $s, $r;
|
|
@@ -126207,7 +126280,7 @@ $packages["net/http"] = (function() {
|
|
|
126207
126280
|
_r$2 = bufioReaderPool.Get(); /* */ $s = 1; case 1: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
126208
126281
|
v = _r$2;
|
|
126209
126282
|
if (!($interfaceIsEqual(v, $ifaceNil))) {
|
|
126210
|
-
br = $assertType(v, ptrType$
|
|
126283
|
+
br = $assertType(v, ptrType$77);
|
|
126211
126284
|
br.Reset(r);
|
|
126212
126285
|
$s = -1; return br;
|
|
126213
126286
|
}
|
|
@@ -126223,9 +126296,9 @@ $packages["net/http"] = (function() {
|
|
|
126223
126296
|
var _r$2, bw, pool, size, v, w, $s, $r;
|
|
126224
126297
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; bw = $f.bw; pool = $f.pool; size = $f.size; v = $f.v; w = $f.w; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
126225
126298
|
pool = bufioWriterPool(size);
|
|
126226
|
-
/* */ if (!(pool === ptrType$
|
|
126299
|
+
/* */ if (!(pool === ptrType$96.nil)) { $s = 1; continue; }
|
|
126227
126300
|
/* */ $s = 2; continue;
|
|
126228
|
-
/* if (!(pool === ptrType$
|
|
126301
|
+
/* if (!(pool === ptrType$96.nil)) { */ case 1:
|
|
126229
126302
|
_r$2 = pool.Get(); /* */ $s = 3; case 3: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
126230
126303
|
v = _r$2;
|
|
126231
126304
|
if (!($interfaceIsEqual(v, $ifaceNil))) {
|
|
@@ -126241,7 +126314,7 @@ $packages["net/http"] = (function() {
|
|
|
126241
126314
|
var bw, pool;
|
|
126242
126315
|
bw.Reset($ifaceNil);
|
|
126243
126316
|
pool = bufioWriterPool(bw.Available());
|
|
126244
|
-
if (!(pool === ptrType$
|
|
126317
|
+
if (!(pool === ptrType$96.nil)) {
|
|
126245
126318
|
pool.Put(bw);
|
|
126246
126319
|
}
|
|
126247
126320
|
};
|
|
@@ -126339,14 +126412,14 @@ $packages["net/http"] = (function() {
|
|
|
126339
126412
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _entry = $f._entry; _entry$1 = $f._entry$1; _i = $f._i; _i$1 = $f._i$1; _keys = $f._keys; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _r$5 = $f._r$5; _r$6 = $f._r$6; _r$7 = $f._r$7; _r$8 = $f._r$8; _r$9 = $f._r$9; _ref = $f._ref; _ref$1 = $f._ref$1; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; _tmp$10 = $f._tmp$10; _tmp$11 = $f._tmp$11; _tmp$12 = $f._tmp$12; _tmp$13 = $f._tmp$13; _tmp$14 = $f._tmp$14; _tmp$15 = $f._tmp$15; _tmp$16 = $f._tmp$16; _tmp$17 = $f._tmp$17; _tmp$18 = $f._tmp$18; _tmp$19 = $f._tmp$19; _tmp$2 = $f._tmp$2; _tmp$3 = $f._tmp$3; _tmp$4 = $f._tmp$4; _tmp$5 = $f._tmp$5; _tmp$6 = $f._tmp$6; _tmp$7 = $f._tmp$7; _tmp$8 = $f._tmp$8; _tmp$9 = $f._tmp$9; _tuple = $f._tuple; _tuple$1 = $f._tuple$1; _tuple$2 = $f._tuple$2; _tuple$3 = $f._tuple$3; _tuple$4 = $f._tuple$4; body$1 = $f.body$1; c = $f.c; cancelCtx = $f.cancelCtx; ctx = $f.ctx; d = $f.d; d$1 = $f.d$1; d$2 = $f.d$2; err = $f.err; haveHost = $f.haveHost; hdrDeadline = $f.hdrDeadline; hosts = $f.hosts; isH2Upgrade = $f.isH2Upgrade; k = $f.k; ok = $f.ok; peek = $f.peek; req = $f.req; t0 = $f.t0; v = $f.v; vv = $f.vv; w = $f.w; wholeReqDeadline = $f.wholeReqDeadline; x$4 = $f.x$4; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
|
|
126340
126413
|
c = [c];
|
|
126341
126414
|
d = [d];
|
|
126342
|
-
w = ptrType$
|
|
126415
|
+
w = ptrType$95.nil;
|
|
126343
126416
|
err = $ifaceNil;
|
|
126344
126417
|
c[0] = this;
|
|
126345
126418
|
_r$2 = c[0].hijacked(); /* */ $s = 3; case 3: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
126346
126419
|
/* */ if (_r$2) { $s = 1; continue; }
|
|
126347
126420
|
/* */ $s = 2; continue;
|
|
126348
126421
|
/* if (_r$2) { */ case 1:
|
|
126349
|
-
_tmp = ptrType$
|
|
126422
|
+
_tmp = ptrType$95.nil;
|
|
126350
126423
|
_tmp$1 = $pkg.ErrHijacked;
|
|
126351
126424
|
w = _tmp;
|
|
126352
126425
|
err = _tmp$1;
|
|
@@ -126394,20 +126467,20 @@ $packages["net/http"] = (function() {
|
|
|
126394
126467
|
err = _tuple$1[1];
|
|
126395
126468
|
if (!($interfaceIsEqual(err, $ifaceNil))) {
|
|
126396
126469
|
if (c[0].r.hitReadLimit()) {
|
|
126397
|
-
_tmp$2 = ptrType$
|
|
126470
|
+
_tmp$2 = ptrType$95.nil;
|
|
126398
126471
|
_tmp$3 = errTooLarge;
|
|
126399
126472
|
w = _tmp$2;
|
|
126400
126473
|
err = _tmp$3;
|
|
126401
126474
|
$s = -1; return [w, err];
|
|
126402
126475
|
}
|
|
126403
|
-
_tmp$4 = ptrType$
|
|
126476
|
+
_tmp$4 = ptrType$95.nil;
|
|
126404
126477
|
_tmp$5 = err;
|
|
126405
126478
|
w = _tmp$4;
|
|
126406
126479
|
err = _tmp$5;
|
|
126407
126480
|
$s = -1; return [w, err];
|
|
126408
126481
|
}
|
|
126409
126482
|
if (!http1ServerSupportsRequest(req)) {
|
|
126410
|
-
_tmp$6 = ptrType$
|
|
126483
|
+
_tmp$6 = ptrType$95.nil;
|
|
126411
126484
|
_tmp$7 = (x$4 = new statusError.ptr(505, "unsupported protocol version"), new x$4.constructor.elem(x$4));
|
|
126412
126485
|
w = _tmp$6;
|
|
126413
126486
|
err = _tmp$7;
|
|
@@ -126420,21 +126493,21 @@ $packages["net/http"] = (function() {
|
|
|
126420
126493
|
haveHost = _tuple$2[1];
|
|
126421
126494
|
isH2Upgrade = req.isH2Upgrade();
|
|
126422
126495
|
if (req.ProtoAtLeast(1, 1) && (!haveHost || (hosts.$length === 0)) && !isH2Upgrade && !(req.Method === "CONNECT")) {
|
|
126423
|
-
_tmp$8 = ptrType$
|
|
126496
|
+
_tmp$8 = ptrType$95.nil;
|
|
126424
126497
|
_tmp$9 = badRequestError("missing required Host header");
|
|
126425
126498
|
w = _tmp$8;
|
|
126426
126499
|
err = _tmp$9;
|
|
126427
126500
|
$s = -1; return [w, err];
|
|
126428
126501
|
}
|
|
126429
126502
|
if (hosts.$length > 1) {
|
|
126430
|
-
_tmp$10 = ptrType$
|
|
126503
|
+
_tmp$10 = ptrType$95.nil;
|
|
126431
126504
|
_tmp$11 = badRequestError("too many Host headers");
|
|
126432
126505
|
w = _tmp$10;
|
|
126433
126506
|
err = _tmp$11;
|
|
126434
126507
|
$s = -1; return [w, err];
|
|
126435
126508
|
}
|
|
126436
126509
|
if ((hosts.$length === 1) && !httpguts.ValidHostHeader((0 >= hosts.$length ? ($throwRuntimeError("index out of range"), undefined) : hosts.$array[hosts.$offset + 0]))) {
|
|
126437
|
-
_tmp$12 = ptrType$
|
|
126510
|
+
_tmp$12 = ptrType$95.nil;
|
|
126438
126511
|
_tmp$13 = badRequestError("malformed Host header");
|
|
126439
126512
|
w = _tmp$12;
|
|
126440
126513
|
err = _tmp$13;
|
|
@@ -126453,7 +126526,7 @@ $packages["net/http"] = (function() {
|
|
|
126453
126526
|
k = _entry$1.k;
|
|
126454
126527
|
vv = _entry$1.v;
|
|
126455
126528
|
if (!httpguts.ValidHeaderFieldName(k)) {
|
|
126456
|
-
_tmp$14 = ptrType$
|
|
126529
|
+
_tmp$14 = ptrType$95.nil;
|
|
126457
126530
|
_tmp$15 = badRequestError("invalid header name");
|
|
126458
126531
|
w = _tmp$14;
|
|
126459
126532
|
err = _tmp$15;
|
|
@@ -126465,7 +126538,7 @@ $packages["net/http"] = (function() {
|
|
|
126465
126538
|
if (!(_i$1 < _ref$1.$length)) { break; }
|
|
126466
126539
|
v = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
|
|
126467
126540
|
if (!httpguts.ValidHeaderFieldValue(v)) {
|
|
126468
|
-
_tmp$16 = ptrType$
|
|
126541
|
+
_tmp$16 = ptrType$95.nil;
|
|
126469
126542
|
_tmp$17 = badRequestError("invalid header value");
|
|
126470
126543
|
w = _tmp$16;
|
|
126471
126544
|
err = _tmp$17;
|
|
@@ -126483,7 +126556,7 @@ $packages["net/http"] = (function() {
|
|
|
126483
126556
|
req.ctx = ctx;
|
|
126484
126557
|
req.RemoteAddr = c[0].remoteAddr;
|
|
126485
126558
|
req.TLS = c[0].tlsState;
|
|
126486
|
-
_tuple$4 = $assertType(req.Body, ptrType$
|
|
126559
|
+
_tuple$4 = $assertType(req.Body, ptrType$97, true);
|
|
126487
126560
|
body$1 = _tuple$4[0];
|
|
126488
126561
|
ok = _tuple$4[1];
|
|
126489
126562
|
if (ok) {
|
|
@@ -126495,7 +126568,7 @@ $packages["net/http"] = (function() {
|
|
|
126495
126568
|
_r$8 = c[0].rwc.SetReadDeadline($clone(wholeReqDeadline, time.Time)); /* */ $s = 15; case 15: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
|
|
126496
126569
|
_r$8;
|
|
126497
126570
|
/* } */ case 14:
|
|
126498
|
-
w = new response.ptr(c[0], req, req.Body, cancelCtx, false, false, req.wantsHttp10KeepAlive(), req.wantsClose(), 0, new sync.Mutex.ptr(0, 0), ptrType$9.nil, new chunkWriter.ptr(ptrType$
|
|
126571
|
+
w = new response.ptr(c[0], req, req.Body, cancelCtx, false, false, req.wantsHttp10KeepAlive(), req.wantsClose(), 0, new sync.Mutex.ptr(0, 0), ptrType$9.nil, new chunkWriter.ptr(ptrType$95.nil, false, false, false), {}, false, new $Int64(0, 0), new $Int64(-1, 4294967295), 0, false, false, sliceType$2.nil, 0, arrayType$1.zero(), arrayType$7.zero(), arrayType$8.zero(), new $Chan($Bool, 1), 0);
|
|
126499
126572
|
if (isH2Upgrade) {
|
|
126500
126573
|
w.closeAfterReply = true;
|
|
126501
126574
|
}
|
|
@@ -126547,7 +126620,7 @@ $packages["net/http"] = (function() {
|
|
|
126547
126620
|
pc = $makeSlice(sliceType$27, 16);
|
|
126548
126621
|
n = runtime.Callers(1, pc);
|
|
126549
126622
|
frames = runtime.CallersFrames($subslice(pc, 0, n));
|
|
126550
|
-
frame = new runtime.Frame.ptr(0, ptrType$
|
|
126623
|
+
frame = new runtime.Frame.ptr(0, ptrType$99.nil, "", "", 0, 0);
|
|
126551
126624
|
while (true) {
|
|
126552
126625
|
_tuple = frames.Next();
|
|
126553
126626
|
frame$1 = $clone(_tuple[0], runtime.Frame);
|
|
@@ -126752,7 +126825,7 @@ $packages["net/http"] = (function() {
|
|
|
126752
126825
|
if (new Header(header[0]).get("Connection") === "close" || !keepAlivesEnabled) {
|
|
126753
126826
|
w.closeAfterReply = true;
|
|
126754
126827
|
}
|
|
126755
|
-
_tuple$1 = $assertType(w.req.Body, ptrType$
|
|
126828
|
+
_tuple$1 = $assertType(w.req.Body, ptrType$100, true);
|
|
126756
126829
|
ecr = _tuple$1[0];
|
|
126757
126830
|
ok = _tuple$1[1];
|
|
126758
126831
|
if (ok && !(ecr.$ptr_sawEOF || (ecr.$ptr_sawEOF = new ptrType$24(function() { return this.$target.sawEOF; }, function($v) { this.$target.sawEOF = $v; }, ecr))).isSet()) {
|
|
@@ -126766,16 +126839,16 @@ $packages["net/http"] = (function() {
|
|
|
126766
126839
|
discard = _tmp;
|
|
126767
126840
|
tooBig = _tmp$1;
|
|
126768
126841
|
_ref$2 = w.req.Body;
|
|
126769
|
-
/* */ if ($assertType(_ref$2, ptrType$
|
|
126770
|
-
/* */ if ($assertType(_ref$2, ptrType$
|
|
126842
|
+
/* */ if ($assertType(_ref$2, ptrType$100, true)[1]) { $s = 6; continue; }
|
|
126843
|
+
/* */ if ($assertType(_ref$2, ptrType$97, true)[1]) { $s = 7; continue; }
|
|
126771
126844
|
/* */ $s = 8; continue;
|
|
126772
|
-
/* if ($assertType(_ref$2, ptrType$
|
|
126845
|
+
/* if ($assertType(_ref$2, ptrType$100, true)[1]) { */ case 6:
|
|
126773
126846
|
bdy = _ref$2.$val;
|
|
126774
126847
|
if (bdy.resp.wroteContinue) {
|
|
126775
126848
|
discard = true;
|
|
126776
126849
|
}
|
|
126777
126850
|
$s = 9; continue;
|
|
126778
|
-
/* } else if ($assertType(_ref$2, ptrType$
|
|
126851
|
+
/* } else if ($assertType(_ref$2, ptrType$97, true)[1]) { */ case 7:
|
|
126779
126852
|
bdy$1 = _ref$2.$val;
|
|
126780
126853
|
$r = bdy$1.mu.Lock(); /* */ $s = 10; case 10: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
126781
126854
|
if (bdy$1.closed) {
|
|
@@ -127164,7 +127237,7 @@ $packages["net/http"] = (function() {
|
|
|
127164
127237
|
var _r$2, _tuple, _v, body$1, ok, w, $s, $r;
|
|
127165
127238
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; _tuple = $f._tuple; _v = $f._v; body$1 = $f.body$1; ok = $f.ok; w = $f.w; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
127166
127239
|
w = this;
|
|
127167
|
-
_tuple = $assertType(w.req.Body, ptrType$
|
|
127240
|
+
_tuple = $assertType(w.req.Body, ptrType$97, true);
|
|
127168
127241
|
body$1 = _tuple[0];
|
|
127169
127242
|
ok = _tuple[1];
|
|
127170
127243
|
if (!(ok)) { _v = false; $s = 1; continue s; }
|
|
@@ -127194,9 +127267,9 @@ $packages["net/http"] = (function() {
|
|
|
127194
127267
|
var _r$2, c, $s, $r;
|
|
127195
127268
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; c = $f.c; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
127196
127269
|
c = this;
|
|
127197
|
-
if (!(c.bufr === ptrType$
|
|
127270
|
+
if (!(c.bufr === ptrType$77.nil)) {
|
|
127198
127271
|
putBufioReader(c.bufr);
|
|
127199
|
-
c.bufr = ptrType$
|
|
127272
|
+
c.bufr = ptrType$77.nil;
|
|
127200
127273
|
}
|
|
127201
127274
|
/* */ if (!(c.bufw === ptrType$9.nil)) { $s = 1; continue; }
|
|
127202
127275
|
/* */ $s = 2; continue;
|
|
@@ -127268,7 +127341,7 @@ $packages["net/http"] = (function() {
|
|
|
127268
127341
|
$panic(new $String("internal error"));
|
|
127269
127342
|
}
|
|
127270
127343
|
packedState = (x$4 = ((x$5 = $shiftLeft64($clone(time.Now(), time.Time).Unix(), 8), new $Uint64(x$5.$high, x$5.$low))), x$6 = (new $Uint64(0, state)), new $Uint64(x$4.$high | x$6.$high, (x$4.$low | x$6.$low) >>> 0));
|
|
127271
|
-
atomic.StoreUint64((x$7 = c.curState, (x$7.$ptr_atomic || (x$7.$ptr_atomic = new ptrType$
|
|
127344
|
+
atomic.StoreUint64((x$7 = c.curState, (x$7.$ptr_atomic || (x$7.$ptr_atomic = new ptrType$101(function() { return this.$target.atomic; }, function($v) { this.$target.atomic = $v; }, x$7)))), packedState);
|
|
127272
127345
|
if (!runHook) {
|
|
127273
127346
|
$s = -1; return;
|
|
127274
127347
|
}
|
|
@@ -127287,7 +127360,7 @@ $packages["net/http"] = (function() {
|
|
|
127287
127360
|
state = 0;
|
|
127288
127361
|
unixSec = new $Int64(0, 0);
|
|
127289
127362
|
c = this;
|
|
127290
|
-
packedState = atomic.LoadUint64((x$4 = c.curState, (x$4.$ptr_atomic || (x$4.$ptr_atomic = new ptrType$
|
|
127363
|
+
packedState = atomic.LoadUint64((x$4 = c.curState, (x$4.$ptr_atomic || (x$4.$ptr_atomic = new ptrType$101(function() { return this.$target.atomic; }, function($v) { this.$target.atomic = $v; }, x$4)))));
|
|
127291
127364
|
_tmp = ((new $Uint64(packedState.$high & 0, (packedState.$low & 255) >>> 0).$low >> 0));
|
|
127292
127365
|
_tmp$1 = ((x$5 = $shiftRightUint64(packedState, 8), new $Int64(x$5.$high, x$5.$low)));
|
|
127293
127366
|
state = _tmp;
|
|
@@ -127366,7 +127439,7 @@ $packages["net/http"] = (function() {
|
|
|
127366
127439
|
$s = -1; return;
|
|
127367
127440
|
/* */ } return; } if ($f === undefined) { $f = { $blk: $b }; } $f._r$6 = _r$6; $f.buf = buf; $f.err = err; $f.$s = $s; $f.$r = $r; return $f;
|
|
127368
127441
|
}; })(c), []]);
|
|
127369
|
-
_tuple = $assertType(c[0].rwc, ptrType$
|
|
127442
|
+
_tuple = $assertType(c[0].rwc, ptrType$76, true);
|
|
127370
127443
|
tlsConn = _tuple[0];
|
|
127371
127444
|
ok = _tuple[1];
|
|
127372
127445
|
/* */ if (ok) { $s = 5; continue; }
|
|
@@ -127433,7 +127506,7 @@ $packages["net/http"] = (function() {
|
|
|
127433
127506
|
cancelCtx = _tuple$2[1];
|
|
127434
127507
|
c[0].cancelCtx = cancelCtx;
|
|
127435
127508
|
$deferred.push([cancelCtx, []]);
|
|
127436
|
-
c[0].r = new connReader.ptr(c[0], new sync.Mutex.ptr(0, 0), false, arrayType$6.zero(), ptrType$
|
|
127509
|
+
c[0].r = new connReader.ptr(c[0], new sync.Mutex.ptr(0, 0), false, arrayType$6.zero(), ptrType$73.nil, false, false, new $Int64(0, 0));
|
|
127437
127510
|
_r$14 = newBufioReader(c[0].r); /* */ $s = 30; case 30: if($c) { $c = false; _r$14 = _r$14.$blk(); } if (_r$14 && _r$14.$blk !== undefined) { break s; }
|
|
127438
127511
|
c[0].bufr = _r$14;
|
|
127439
127512
|
_r$15 = newBufioWriterSize((x$4 = new checkConnErrorWriter.ptr(c[0]), new x$4.constructor.elem(x$4)), 4096); /* */ $s = 31; case 31: if($c) { $c = false; _r$15 = _r$15.$blk(); } if (_r$15 && _r$15.$blk !== undefined) { break s; }
|
|
@@ -127534,7 +127607,7 @@ $packages["net/http"] = (function() {
|
|
|
127534
127607
|
$s = -1; return;
|
|
127535
127608
|
/* } */ case 71:
|
|
127536
127609
|
$r = c[0].setState(c[0].rwc, 2, true); /* */ $s = 78; case 78: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
127537
|
-
c[0].curReq.Store((ptrType$
|
|
127610
|
+
c[0].curReq.Store((ptrType$95.nil));
|
|
127538
127611
|
if (!w.conn.server.doKeepAlives()) {
|
|
127539
127612
|
$s = -1; return;
|
|
127540
127613
|
}
|
|
@@ -127573,7 +127646,7 @@ $packages["net/http"] = (function() {
|
|
|
127573
127646
|
var _r$2, _tmp, _tmp$1, _tmp$2, _tuple, buf, c, err, rwc, w, $s, $deferred, $r;
|
|
127574
127647
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; _tmp$2 = $f._tmp$2; _tuple = $f._tuple; buf = $f.buf; c = $f.c; err = $f.err; rwc = $f.rwc; w = $f.w; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
|
|
127575
127648
|
rwc = $ifaceNil;
|
|
127576
|
-
buf = ptrType$
|
|
127649
|
+
buf = ptrType$92.nil;
|
|
127577
127650
|
err = $ifaceNil;
|
|
127578
127651
|
w = this;
|
|
127579
127652
|
if ((w.$ptr_handlerDone || (w.$ptr_handlerDone = new ptrType$24(function() { return this.$target.handlerDone; }, function($v) { this.$target.handlerDone = $v; }, w))).isSet()) {
|
|
@@ -127619,14 +127692,14 @@ $packages["net/http"] = (function() {
|
|
|
127619
127692
|
var _r$2, _ref, fn, rc, v, v$1, v$2, $s, $r;
|
|
127620
127693
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; _ref = $f._ref; fn = $f.fn; rc = $f.rc; v = $f.v; v$1 = $f.v$1; v$2 = $f.v$2; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
127621
127694
|
_ref = rc;
|
|
127622
|
-
/* */ if ($assertType(_ref, ptrType$
|
|
127623
|
-
/* */ if ($assertType(_ref, ptrType$
|
|
127695
|
+
/* */ if ($assertType(_ref, ptrType$100, true)[1]) { $s = 1; continue; }
|
|
127696
|
+
/* */ if ($assertType(_ref, ptrType$97, true)[1]) { $s = 2; continue; }
|
|
127624
127697
|
/* */ $s = 3; continue;
|
|
127625
|
-
/* if ($assertType(_ref, ptrType$
|
|
127698
|
+
/* if ($assertType(_ref, ptrType$100, true)[1]) { */ case 1:
|
|
127626
127699
|
v = _ref.$val;
|
|
127627
127700
|
$r = registerOnHitEOF(v.readCloser, fn); /* */ $s = 5; case 5: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
127628
127701
|
$s = 4; continue;
|
|
127629
|
-
/* } else if ($assertType(_ref, ptrType$
|
|
127702
|
+
/* } else if ($assertType(_ref, ptrType$97, true)[1]) { */ case 2:
|
|
127630
127703
|
v$1 = _ref.$val;
|
|
127631
127704
|
$r = v$1.registerOnHitEOF(fn); /* */ $s = 6; case 6: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
127632
127705
|
$s = 4; continue;
|
|
@@ -127645,14 +127718,14 @@ $packages["net/http"] = (function() {
|
|
|
127645
127718
|
$s = -1; return false;
|
|
127646
127719
|
}
|
|
127647
127720
|
_ref = rc;
|
|
127648
|
-
/* */ if ($assertType(_ref, ptrType$
|
|
127649
|
-
/* */ if ($assertType(_ref, ptrType$
|
|
127721
|
+
/* */ if ($assertType(_ref, ptrType$100, true)[1]) { $s = 1; continue; }
|
|
127722
|
+
/* */ if ($assertType(_ref, ptrType$97, true)[1]) { $s = 2; continue; }
|
|
127650
127723
|
/* */ $s = 3; continue;
|
|
127651
|
-
/* if ($assertType(_ref, ptrType$
|
|
127724
|
+
/* if ($assertType(_ref, ptrType$100, true)[1]) { */ case 1:
|
|
127652
127725
|
v = _ref.$val;
|
|
127653
127726
|
_r$2 = requestBodyRemains(v.readCloser); /* */ $s = 5; case 5: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
127654
127727
|
$s = -1; return _r$2;
|
|
127655
|
-
/* } else if ($assertType(_ref, ptrType$
|
|
127728
|
+
/* } else if ($assertType(_ref, ptrType$97, true)[1]) { */ case 2:
|
|
127656
127729
|
v$1 = _ref.$val;
|
|
127657
127730
|
_r$3 = v$1.bodyRemains(); /* */ $s = 6; case 6: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
|
|
127658
127731
|
$s = -1; return _r$3;
|
|
@@ -128134,7 +128207,7 @@ $packages["net/http"] = (function() {
|
|
|
128134
128207
|
c = _entry.k;
|
|
128135
128208
|
_r$3 = c.rwc.Close(); /* */ $s = 5; case 5: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
|
|
128136
128209
|
_r$3;
|
|
128137
|
-
delete srv.activeConn[ptrType$
|
|
128210
|
+
delete srv.activeConn[ptrType$98.keyFor(c)];
|
|
128138
128211
|
_i++;
|
|
128139
128212
|
/* } */ $s = 3; continue; case 4:
|
|
128140
128213
|
$s = -1; return err;
|
|
@@ -128260,7 +128333,7 @@ $packages["net/http"] = (function() {
|
|
|
128260
128333
|
/* } */ case 5:
|
|
128261
128334
|
_r$2 = c.rwc.Close(); /* */ $s = 6; case 6: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
128262
128335
|
_r$2;
|
|
128263
|
-
delete s.activeConn[ptrType$
|
|
128336
|
+
delete s.activeConn[ptrType$98.keyFor(c)];
|
|
128264
128337
|
_i++;
|
|
128265
128338
|
/* } */ $s = 2; continue; case 3:
|
|
128266
128339
|
$s = -1; return quiescent;
|
|
@@ -128514,9 +128587,9 @@ $packages["net/http"] = (function() {
|
|
|
128514
128587
|
s.activeConn = {};
|
|
128515
128588
|
}
|
|
128516
128589
|
if (add) {
|
|
128517
|
-
_key = c; (s.activeConn || $throwRuntimeError("assignment to entry in nil map"))[ptrType$
|
|
128590
|
+
_key = c; (s.activeConn || $throwRuntimeError("assignment to entry in nil map"))[ptrType$98.keyFor(_key)] = { k: _key, v: new structType.ptr() };
|
|
128518
128591
|
} else {
|
|
128519
|
-
delete s.activeConn[ptrType$
|
|
128592
|
+
delete s.activeConn[ptrType$98.keyFor(c)];
|
|
128520
128593
|
}
|
|
128521
128594
|
$s = -1; return;
|
|
128522
128595
|
/* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: Server.ptr.prototype.trackConn }; } $f._key = _key; $f.add = add; $f.c = c; $f.s = s; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
|
|
@@ -128543,7 +128616,7 @@ $packages["net/http"] = (function() {
|
|
|
128543
128616
|
Server.ptr.prototype.doKeepAlives = function() {
|
|
128544
128617
|
var s;
|
|
128545
128618
|
s = this;
|
|
128546
|
-
return (atomic.LoadInt32((s.$ptr_disableKeepAlives || (s.$ptr_disableKeepAlives = new ptrType$
|
|
128619
|
+
return (atomic.LoadInt32((s.$ptr_disableKeepAlives || (s.$ptr_disableKeepAlives = new ptrType$93(function() { return this.$target.disableKeepAlives; }, function($v) { this.$target.disableKeepAlives = $v; }, s)))) === 0) && !s.shuttingDown();
|
|
128547
128620
|
};
|
|
128548
128621
|
Server.prototype.doKeepAlives = function() { return this.$val.doKeepAlives(); };
|
|
128549
128622
|
Server.ptr.prototype.shuttingDown = function() {
|
|
@@ -128557,10 +128630,10 @@ $packages["net/http"] = (function() {
|
|
|
128557
128630
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; srv = $f.srv; v = $f.v; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
128558
128631
|
srv = this;
|
|
128559
128632
|
if (v) {
|
|
128560
|
-
atomic.StoreInt32((srv.$ptr_disableKeepAlives || (srv.$ptr_disableKeepAlives = new ptrType$
|
|
128633
|
+
atomic.StoreInt32((srv.$ptr_disableKeepAlives || (srv.$ptr_disableKeepAlives = new ptrType$93(function() { return this.$target.disableKeepAlives; }, function($v) { this.$target.disableKeepAlives = $v; }, srv))), 0);
|
|
128561
128634
|
$s = -1; return;
|
|
128562
128635
|
}
|
|
128563
|
-
atomic.StoreInt32((srv.$ptr_disableKeepAlives || (srv.$ptr_disableKeepAlives = new ptrType$
|
|
128636
|
+
atomic.StoreInt32((srv.$ptr_disableKeepAlives || (srv.$ptr_disableKeepAlives = new ptrType$93(function() { return this.$target.disableKeepAlives; }, function($v) { this.$target.disableKeepAlives = $v; }, srv))), 1);
|
|
128564
128637
|
_r$2 = srv.closeIdleConns(); /* */ $s = 1; case 1: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
128565
128638
|
_r$2;
|
|
128566
128639
|
$s = -1; return;
|
|
@@ -128655,7 +128728,7 @@ $packages["net/http"] = (function() {
|
|
|
128655
128728
|
/* */ $s = 7; continue;
|
|
128656
128729
|
/* if (srv.TLSNextProto === false) { */ case 6:
|
|
128657
128730
|
conf = new http2Server.ptr(0, 0, 0, false, new time.Duration(0, 0), 0, 0, (function() {
|
|
128658
|
-
return http2NewPriorityWriteScheduler(ptrType$
|
|
128731
|
+
return http2NewPriorityWriteScheduler(ptrType$82.nil);
|
|
128659
128732
|
}), ptrType$50.nil);
|
|
128660
128733
|
_r$4 = http2ConfigureServer(srv, conf); /* */ $s = 8; case 8: if($c) { $c = false; _r$4 = _r$4.$blk(); } if (_r$4 && _r$4.$blk !== undefined) { break s; }
|
|
128661
128734
|
srv.nextProtoErr = _r$4;
|
|
@@ -129612,9 +129685,9 @@ $packages["net/http"] = (function() {
|
|
|
129612
129685
|
} else if ((realLength.$high === 0 && realLength.$low === 0)) {
|
|
129613
129686
|
t.Body = new $pkg.NoBody.constructor.elem($pkg.NoBody);
|
|
129614
129687
|
} else if ((realLength.$high > 0 || (realLength.$high === 0 && realLength.$low > 0))) {
|
|
129615
|
-
t.Body = new body.ptr(io.LimitReader(r, realLength), $ifaceNil, ptrType$
|
|
129688
|
+
t.Body = new body.ptr(io.LimitReader(r, realLength), $ifaceNil, ptrType$77.nil, t.Close, false, new sync.Mutex.ptr(0, 0), false, false, false, $throwNilPointerError);
|
|
129616
129689
|
} else if (t.Close) {
|
|
129617
|
-
t.Body = new body.ptr(r, $ifaceNil, ptrType$
|
|
129690
|
+
t.Body = new body.ptr(r, $ifaceNil, ptrType$77.nil, t.Close, false, new sync.Mutex.ptr(0, 0), false, false, false, $throwNilPointerError);
|
|
129618
129691
|
} else {
|
|
129619
129692
|
t.Body = new $pkg.NoBody.constructor.elem($pkg.NoBody);
|
|
129620
129693
|
}
|
|
@@ -129987,10 +130060,10 @@ $packages["net/http"] = (function() {
|
|
|
129987
130060
|
_ref = b.hdr;
|
|
129988
130061
|
if ($assertType(_ref, ptrType$6, true)[1]) {
|
|
129989
130062
|
rr = _ref.$val;
|
|
129990
|
-
mergeSetHeader((rr.$ptr_Trailer || (rr.$ptr_Trailer = new ptrType$
|
|
130063
|
+
mergeSetHeader((rr.$ptr_Trailer || (rr.$ptr_Trailer = new ptrType$78(function() { return this.$target.Trailer; }, function($v) { this.$target.Trailer = $v; }, rr))), (hdr));
|
|
129991
130064
|
} else if ($assertType(_ref, ptrType$18, true)[1]) {
|
|
129992
130065
|
rr$1 = _ref.$val;
|
|
129993
|
-
mergeSetHeader((rr$1.$ptr_Trailer || (rr$1.$ptr_Trailer = new ptrType$
|
|
130066
|
+
mergeSetHeader((rr$1.$ptr_Trailer || (rr$1.$ptr_Trailer = new ptrType$78(function() { return this.$target.Trailer; }, function($v) { this.$target.Trailer = $v; }, rr$1))), (hdr));
|
|
129994
130067
|
}
|
|
129995
130068
|
$s = -1; return $ifaceNil;
|
|
129996
130069
|
/* */ } return; } if ($f === undefined) { $f = { $blk: body.ptr.prototype.readTrailer }; } $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._r$5 = _r$5; $f._r$6 = _r$6; $f._ref = _ref; $f._tuple = _tuple; $f._tuple$1 = _tuple$1; $f.b = b; $f.buf = buf; $f.err = err; $f.hdr = hdr; $f.rr = rr; $f.rr$1 = rr$1; $f.$s = $s; $f.$r = $r; return $f;
|
|
@@ -130179,7 +130252,7 @@ $packages["net/http"] = (function() {
|
|
|
130179
130252
|
var _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _ref, _tuple, ok, r, r$1, $s, $r;
|
|
130180
130253
|
/* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _r$5 = $f._r$5; _r$6 = $f._r$6; _r$7 = $f._r$7; _ref = $f._ref; _tuple = $f._tuple; ok = $f.ok; r = $f.r; r$1 = $f.r$1; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
130181
130254
|
_ref = r;
|
|
130182
|
-
if ($assertType(_ref, ptrType$
|
|
130255
|
+
if ($assertType(_ref, ptrType$88, true)[1] || $assertType(_ref, ptrType$38, true)[1] || $assertType(_ref, ptrType$89, true)[1]) {
|
|
130183
130256
|
$s = -1; return true;
|
|
130184
130257
|
}
|
|
130185
130258
|
_r$2 = reflect.TypeOf(r); /* */ $s = 3; case 3: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
@@ -130297,7 +130370,7 @@ $packages["net/http"] = (function() {
|
|
|
130297
130370
|
ptrType$69.methods = [{prop: "Init", name: "Init", pkg: "", typ: $funcType([], [], false)}];
|
|
130298
130371
|
ptrType$56.methods = [{prop: "Available", name: "Available", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Flush", name: "Flush", pkg: "", typ: $funcType([], [$error], false)}];
|
|
130299
130372
|
ptrType$71.methods = [{prop: "Len", name: "Len", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "Swap", name: "Swap", pkg: "", typ: $funcType([$Int, $Int], [], false)}, {prop: "Less", name: "Less", pkg: "", typ: $funcType([$Int, $Int], [$Bool], false)}, {prop: "Keys", name: "Keys", pkg: "", typ: $funcType([Header], [sliceType$2], false)}, {prop: "SortStrings", name: "SortStrings", pkg: "", typ: $funcType([sliceType$2], [], false)}];
|
|
130300
|
-
ptrType$68.methods = [{prop: "Len", name: "Len", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "CloseWithError", name: "CloseWithError", pkg: "", typ: $funcType([$error], [], false)}, {prop: "BreakWithError", name: "BreakWithError", pkg: "", typ: $funcType([$error], [], false)}, {prop: "closeWithErrorAndCode", name: "closeWithErrorAndCode", pkg: "net/http", typ: $funcType([$error, funcType], [], false)}, {prop: "closeWithError", name: "closeWithError", pkg: "net/http", typ: $funcType([ptrType$49, $error, funcType], [], false)}, {prop: "closeDoneLocked", name: "closeDoneLocked", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "Err", name: "Err", pkg: "", typ: $funcType([], [$error], false)}, {prop: "Done", name: "Done", pkg: "", typ: $funcType([], [chanType$3], false)}];
|
|
130373
|
+
ptrType$68.methods = [{prop: "setBuffer", name: "setBuffer", pkg: "net/http", typ: $funcType([http2pipeBuffer], [], false)}, {prop: "Len", name: "Len", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "CloseWithError", name: "CloseWithError", pkg: "", typ: $funcType([$error], [], false)}, {prop: "BreakWithError", name: "BreakWithError", pkg: "", typ: $funcType([$error], [], false)}, {prop: "closeWithErrorAndCode", name: "closeWithErrorAndCode", pkg: "net/http", typ: $funcType([$error, funcType], [], false)}, {prop: "closeWithError", name: "closeWithError", pkg: "net/http", typ: $funcType([ptrType$49, $error, funcType], [], false)}, {prop: "closeDoneLocked", name: "closeDoneLocked", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "Err", name: "Err", pkg: "", typ: $funcType([], [$error], false)}, {prop: "Done", name: "Done", pkg: "", typ: $funcType([], [chanType$3], false)}];
|
|
130301
130374
|
ptrType$52.methods = [{prop: "initialConnRecvWindowSize", name: "initialConnRecvWindowSize", pkg: "net/http", typ: $funcType([], [$Int32], false)}, {prop: "initialStreamRecvWindowSize", name: "initialStreamRecvWindowSize", pkg: "net/http", typ: $funcType([], [$Int32], false)}, {prop: "maxReadFrameSize", name: "maxReadFrameSize", pkg: "net/http", typ: $funcType([], [$Uint32], false)}, {prop: "maxConcurrentStreams", name: "maxConcurrentStreams", pkg: "net/http", typ: $funcType([], [$Uint32], false)}, {prop: "maxQueuedControlFrames", name: "maxQueuedControlFrames", pkg: "net/http", typ: $funcType([], [$Int], false)}, {prop: "ServeConn", name: "ServeConn", pkg: "", typ: $funcType([net.Conn, ptrType$54], [], false)}];
|
|
130302
130375
|
ptrType$50.methods = [{prop: "registerConn", name: "registerConn", pkg: "net/http", typ: $funcType([ptrType$8], [], false)}, {prop: "unregisterConn", name: "unregisterConn", pkg: "net/http", typ: $funcType([ptrType$8], [], false)}, {prop: "startGracefulShutdown", name: "startGracefulShutdown", pkg: "net/http", typ: $funcType([], [], false)}];
|
|
130303
130376
|
ptrType$54.methods = [{prop: "context", name: "context", pkg: "net/http", typ: $funcType([], [context.Context], false)}, {prop: "baseConfig", name: "baseConfig", pkg: "net/http", typ: $funcType([], [ptrType$51], false)}, {prop: "handler", name: "handler", pkg: "net/http", typ: $funcType([], [Handler], false)}];
|
|
@@ -130320,33 +130393,33 @@ $packages["net/http"] = (function() {
|
|
|
130320
130393
|
http2writeWindowUpdate.methods = [{prop: "staysWithinBuffer", name: "staysWithinBuffer", pkg: "net/http", typ: $funcType([$Int], [$Bool], false)}, {prop: "writeFrame", name: "writeFrame", pkg: "net/http", typ: $funcType([http2writeContext], [$error], false)}];
|
|
130321
130394
|
http2FrameWriteRequest.methods = [{prop: "StreamID", name: "StreamID", pkg: "", typ: $funcType([], [$Uint32], false)}, {prop: "isControl", name: "isControl", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "DataSize", name: "DataSize", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "Consume", name: "Consume", pkg: "", typ: $funcType([$Int32], [http2FrameWriteRequest, http2FrameWriteRequest, $Int], false)}, {prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130322
130395
|
ptrType$124.methods = [{prop: "replyToWriter", name: "replyToWriter", pkg: "net/http", typ: $funcType([$error], [], false)}];
|
|
130323
|
-
ptrType$
|
|
130324
|
-
ptrType$
|
|
130325
|
-
ptrType$
|
|
130396
|
+
ptrType$81.methods = [{prop: "empty", name: "empty", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "push", name: "push", pkg: "net/http", typ: $funcType([http2FrameWriteRequest], [], false)}, {prop: "shift", name: "shift", pkg: "net/http", typ: $funcType([], [http2FrameWriteRequest], false)}, {prop: "consume", name: "consume", pkg: "net/http", typ: $funcType([$Int32], [http2FrameWriteRequest, $Bool], false)}];
|
|
130397
|
+
ptrType$84.methods = [{prop: "put", name: "put", pkg: "net/http", typ: $funcType([ptrType$81], [], false)}, {prop: "get", name: "get", pkg: "net/http", typ: $funcType([], [ptrType$81], false)}];
|
|
130398
|
+
ptrType$83.methods = [{prop: "setParent", name: "setParent", pkg: "net/http", typ: $funcType([ptrType$83], [], false)}, {prop: "addBytes", name: "addBytes", pkg: "net/http", typ: $funcType([$Int64], [], false)}, {prop: "walkReadyInOrder", name: "walkReadyInOrder", pkg: "net/http", typ: $funcType([$Bool, ptrType$85, funcType$13], [$Bool], false)}];
|
|
130326
130399
|
http2sortPriorityNodeSiblings.methods = [{prop: "Len", name: "Len", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "Swap", name: "Swap", pkg: "", typ: $funcType([$Int, $Int], [], false)}, {prop: "Less", name: "Less", pkg: "", typ: $funcType([$Int, $Int], [$Bool], false)}];
|
|
130327
|
-
ptrType$125.methods = [{prop: "OpenStream", name: "OpenStream", pkg: "", typ: $funcType([$Uint32, http2OpenStreamOptions], [], false)}, {prop: "CloseStream", name: "CloseStream", pkg: "", typ: $funcType([$Uint32], [], false)}, {prop: "AdjustStream", name: "AdjustStream", pkg: "", typ: $funcType([$Uint32, http2PriorityParam], [], false)}, {prop: "Push", name: "Push", pkg: "", typ: $funcType([http2FrameWriteRequest], [], false)}, {prop: "Pop", name: "Pop", pkg: "", typ: $funcType([], [http2FrameWriteRequest, $Bool], false)}, {prop: "addClosedOrIdleNode", name: "addClosedOrIdleNode", pkg: "net/http", typ: $funcType([ptrType$
|
|
130400
|
+
ptrType$125.methods = [{prop: "OpenStream", name: "OpenStream", pkg: "", typ: $funcType([$Uint32, http2OpenStreamOptions], [], false)}, {prop: "CloseStream", name: "CloseStream", pkg: "", typ: $funcType([$Uint32], [], false)}, {prop: "AdjustStream", name: "AdjustStream", pkg: "", typ: $funcType([$Uint32, http2PriorityParam], [], false)}, {prop: "Push", name: "Push", pkg: "", typ: $funcType([http2FrameWriteRequest], [], false)}, {prop: "Pop", name: "Pop", pkg: "", typ: $funcType([], [http2FrameWriteRequest, $Bool], false)}, {prop: "addClosedOrIdleNode", name: "addClosedOrIdleNode", pkg: "net/http", typ: $funcType([ptrType$85, $Int, ptrType$83], [], false)}, {prop: "removeNode", name: "removeNode", pkg: "net/http", typ: $funcType([ptrType$83], [], false)}];
|
|
130328
130401
|
ptrType$126.methods = [{prop: "OpenStream", name: "OpenStream", pkg: "", typ: $funcType([$Uint32, http2OpenStreamOptions], [], false)}, {prop: "CloseStream", name: "CloseStream", pkg: "", typ: $funcType([$Uint32], [], false)}, {prop: "AdjustStream", name: "AdjustStream", pkg: "", typ: $funcType([$Uint32, http2PriorityParam], [], false)}, {prop: "Push", name: "Push", pkg: "", typ: $funcType([http2FrameWriteRequest], [], false)}, {prop: "Pop", name: "Pop", pkg: "", typ: $funcType([], [http2FrameWriteRequest, $Bool], false)}];
|
|
130329
|
-
Header.methods = [{prop: "Add", name: "Add", pkg: "", typ: $funcType([$String, $String], [], false)}, {prop: "Set", name: "Set", pkg: "", typ: $funcType([$String, $String], [], false)}, {prop: "Get", name: "Get", pkg: "", typ: $funcType([$String], [$String], false)}, {prop: "Values", name: "Values", pkg: "", typ: $funcType([$String], [sliceType$2], false)}, {prop: "get", name: "get", pkg: "net/http", typ: $funcType([$String], [$String], false)}, {prop: "has", name: "has", pkg: "net/http", typ: $funcType([$String], [$Bool], false)}, {prop: "Del", name: "Del", pkg: "", typ: $funcType([$String], [], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([io.Writer], [$error], false)}, {prop: "write", name: "write", pkg: "net/http", typ: $funcType([io.Writer, ptrType$48], [$error], false)}, {prop: "Clone", name: "Clone", pkg: "", typ: $funcType([], [Header], false)}, {prop: "sortedKeyValues", name: "sortedKeyValues", pkg: "net/http", typ: $funcType([mapType$12], [sliceType$5, ptrType$
|
|
130402
|
+
Header.methods = [{prop: "Add", name: "Add", pkg: "", typ: $funcType([$String, $String], [], false)}, {prop: "Set", name: "Set", pkg: "", typ: $funcType([$String, $String], [], false)}, {prop: "Get", name: "Get", pkg: "", typ: $funcType([$String], [$String], false)}, {prop: "Values", name: "Values", pkg: "", typ: $funcType([$String], [sliceType$2], false)}, {prop: "get", name: "get", pkg: "net/http", typ: $funcType([$String], [$String], false)}, {prop: "has", name: "has", pkg: "net/http", typ: $funcType([$String], [$Bool], false)}, {prop: "Del", name: "Del", pkg: "", typ: $funcType([$String], [], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([io.Writer], [$error], false)}, {prop: "write", name: "write", pkg: "net/http", typ: $funcType([io.Writer, ptrType$48], [$error], false)}, {prop: "Clone", name: "Clone", pkg: "", typ: $funcType([], [Header], false)}, {prop: "sortedKeyValues", name: "sortedKeyValues", pkg: "net/http", typ: $funcType([mapType$12], [sliceType$5, ptrType$86], false)}, {prop: "WriteSubset", name: "WriteSubset", pkg: "", typ: $funcType([io.Writer, mapType$12], [$error], false)}, {prop: "writeSubset", name: "writeSubset", pkg: "net/http", typ: $funcType([io.Writer, mapType$12, ptrType$48], [$error], false)}];
|
|
130330
130403
|
stringWriter.methods = [{prop: "WriteString", name: "WriteString", pkg: "", typ: $funcType([$String], [$Int, $error], false)}];
|
|
130331
|
-
ptrType$
|
|
130404
|
+
ptrType$86.methods = [{prop: "Len", name: "Len", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "Swap", name: "Swap", pkg: "", typ: $funcType([$Int, $Int], [], false)}, {prop: "Less", name: "Less", pkg: "", typ: $funcType([$Int, $Int], [$Bool], false)}];
|
|
130332
130405
|
ptrType$127.methods = [{prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130333
130406
|
noBody.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}, {prop: "WriteTo", name: "WriteTo", pkg: "", typ: $funcType([io.Writer], [$Int64, $error], false)}];
|
|
130334
130407
|
ptrType$128.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130335
|
-
ptrType$6.methods = [{prop: "Context", name: "Context", pkg: "", typ: $funcType([], [context.Context], false)}, {prop: "WithContext", name: "WithContext", pkg: "", typ: $funcType([context.Context], [ptrType$6], false)}, {prop: "Clone", name: "Clone", pkg: "", typ: $funcType([context.Context], [ptrType$6], false)}, {prop: "ProtoAtLeast", name: "ProtoAtLeast", pkg: "", typ: $funcType([$Int, $Int], [$Bool], false)}, {prop: "UserAgent", name: "UserAgent", pkg: "", typ: $funcType([], [$String], false)}, {prop: "Cookies", name: "Cookies", pkg: "", typ: $funcType([], [sliceType$9], false)}, {prop: "Cookie", name: "Cookie", pkg: "", typ: $funcType([$String], [ptrType$26, $error], false)}, {prop: "AddCookie", name: "AddCookie", pkg: "", typ: $funcType([ptrType$26], [], false)}, {prop: "Referer", name: "Referer", pkg: "", typ: $funcType([], [$String], false)}, {prop: "MultipartReader", name: "MultipartReader", pkg: "", typ: $funcType([], [ptrType$
|
|
130336
|
-
ptrType$
|
|
130408
|
+
ptrType$6.methods = [{prop: "Context", name: "Context", pkg: "", typ: $funcType([], [context.Context], false)}, {prop: "WithContext", name: "WithContext", pkg: "", typ: $funcType([context.Context], [ptrType$6], false)}, {prop: "Clone", name: "Clone", pkg: "", typ: $funcType([context.Context], [ptrType$6], false)}, {prop: "ProtoAtLeast", name: "ProtoAtLeast", pkg: "", typ: $funcType([$Int, $Int], [$Bool], false)}, {prop: "UserAgent", name: "UserAgent", pkg: "", typ: $funcType([], [$String], false)}, {prop: "Cookies", name: "Cookies", pkg: "", typ: $funcType([], [sliceType$9], false)}, {prop: "Cookie", name: "Cookie", pkg: "", typ: $funcType([$String], [ptrType$26, $error], false)}, {prop: "AddCookie", name: "AddCookie", pkg: "", typ: $funcType([ptrType$26], [], false)}, {prop: "Referer", name: "Referer", pkg: "", typ: $funcType([], [$String], false)}, {prop: "MultipartReader", name: "MultipartReader", pkg: "", typ: $funcType([], [ptrType$87, $error], false)}, {prop: "multipartReader", name: "multipartReader", pkg: "net/http", typ: $funcType([$Bool], [ptrType$87, $error], false)}, {prop: "isH2Upgrade", name: "isH2Upgrade", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([io.Writer], [$error], false)}, {prop: "WriteProxy", name: "WriteProxy", pkg: "", typ: $funcType([io.Writer], [$error], false)}, {prop: "write", name: "write", pkg: "net/http", typ: $funcType([io.Writer, $Bool, Header, funcType$3], [$error], false)}, {prop: "BasicAuth", name: "BasicAuth", pkg: "", typ: $funcType([], [$String, $String, $Bool], false)}, {prop: "SetBasicAuth", name: "SetBasicAuth", pkg: "", typ: $funcType([$String, $String], [], false)}, {prop: "ParseForm", name: "ParseForm", pkg: "", typ: $funcType([], [$error], false)}, {prop: "ParseMultipartForm", name: "ParseMultipartForm", pkg: "", typ: $funcType([$Int64], [$error], false)}, {prop: "FormValue", name: "FormValue", pkg: "", typ: $funcType([$String], [$String], false)}, {prop: "PostFormValue", name: "PostFormValue", pkg: "", typ: $funcType([$String], [$String], false)}, {prop: "FormFile", name: "FormFile", pkg: "", typ: $funcType([$String], [multipart.File, ptrType$27, $error], false)}, {prop: "expectsContinue", name: "expectsContinue", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "wantsHttp10KeepAlive", name: "wantsHttp10KeepAlive", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "wantsClose", name: "wantsClose", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "closeBody", name: "closeBody", pkg: "net/http", typ: $funcType([], [$error], false)}, {prop: "isReplayable", name: "isReplayable", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "outgoingLength", name: "outgoingLength", pkg: "net/http", typ: $funcType([], [$Int64], false)}, {prop: "requiresHTTP1", name: "requiresHTTP1", pkg: "net/http", typ: $funcType([], [$Bool], false)}];
|
|
130409
|
+
ptrType$91.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}];
|
|
130337
130410
|
ptrType$18.methods = [{prop: "Cookies", name: "Cookies", pkg: "", typ: $funcType([], [sliceType$9], false)}, {prop: "Location", name: "Location", pkg: "", typ: $funcType([], [ptrType$19, $error], false)}, {prop: "ProtoAtLeast", name: "ProtoAtLeast", pkg: "", typ: $funcType([$Int, $Int], [$Bool], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([io.Writer], [$error], false)}, {prop: "closeBody", name: "closeBody", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "bodyIsWritable", name: "bodyIsWritable", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "isProtocolSwitch", name: "isProtocolSwitch", pkg: "net/http", typ: $funcType([], [$Bool], false)}];
|
|
130338
|
-
ptrType$
|
|
130411
|
+
ptrType$98.methods = [{prop: "hijacked", name: "hijacked", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "hijackLocked", name: "hijackLocked", pkg: "net/http", typ: $funcType([], [net.Conn, ptrType$92, $error], false)}, {prop: "readRequest", name: "readRequest", pkg: "net/http", typ: $funcType([context.Context], [ptrType$95, $error], false)}, {prop: "finalFlush", name: "finalFlush", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "close", name: "close", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "closeWriteAndWait", name: "closeWriteAndWait", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "setState", name: "setState", pkg: "net/http", typ: $funcType([net.Conn, ConnState, $Bool], [], false)}, {prop: "getState", name: "getState", pkg: "net/http", typ: $funcType([], [ConnState, $Int64], false)}, {prop: "serve", name: "serve", pkg: "net/http", typ: $funcType([context.Context], [], false)}];
|
|
130339
130412
|
ptrType$131.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "flush", name: "flush", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "close", name: "close", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "writeHeader", name: "writeHeader", pkg: "net/http", typ: $funcType([sliceType$4], [], false)}];
|
|
130340
|
-
ptrType$
|
|
130413
|
+
ptrType$95.methods = [{prop: "finalTrailers", name: "finalTrailers", pkg: "net/http", typ: $funcType([], [Header], false)}, {prop: "declareTrailer", name: "declareTrailer", pkg: "net/http", typ: $funcType([$String], [], false)}, {prop: "requestTooLarge", name: "requestTooLarge", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "needsSniff", name: "needsSniff", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "ReadFrom", name: "ReadFrom", pkg: "", typ: $funcType([io.Reader], [$Int64, $error], false)}, {prop: "Header", name: "Header", pkg: "", typ: $funcType([], [Header], false)}, {prop: "WriteHeader", name: "WriteHeader", pkg: "", typ: $funcType([$Int], [], false)}, {prop: "bodyAllowed", name: "bodyAllowed", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "WriteString", name: "WriteString", pkg: "", typ: $funcType([$String], [$Int, $error], false)}, {prop: "write", name: "write", pkg: "net/http", typ: $funcType([$Int, sliceType$4, $String], [$Int, $error], false)}, {prop: "finishRequest", name: "finishRequest", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "shouldReuseConnection", name: "shouldReuseConnection", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "closedRequestBodyEarly", name: "closedRequestBodyEarly", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "Flush", name: "Flush", pkg: "", typ: $funcType([], [], false)}, {prop: "sendExpectationFailed", name: "sendExpectationFailed", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "Hijack", name: "Hijack", pkg: "", typ: $funcType([], [net.Conn, ptrType$92, $error], false)}, {prop: "CloseNotify", name: "CloseNotify", pkg: "", typ: $funcType([], [chanType$9], false)}];
|
|
130341
130414
|
ptrType$24.methods = [{prop: "isSet", name: "isSet", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "setTrue", name: "setTrue", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "setFalse", name: "setFalse", pkg: "net/http", typ: $funcType([], [], false)}];
|
|
130342
|
-
ptrType$
|
|
130343
|
-
ptrType$
|
|
130415
|
+
ptrType$94.methods = [{prop: "lock", name: "lock", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "unlock", name: "unlock", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "startBackgroundRead", name: "startBackgroundRead", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "backgroundRead", name: "backgroundRead", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "abortPendingRead", name: "abortPendingRead", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "setReadLimit", name: "setReadLimit", pkg: "net/http", typ: $funcType([$Int64], [], false)}, {prop: "setInfiniteReadLimit", name: "setInfiniteReadLimit", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "hitReadLimit", name: "hitReadLimit", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "handleReadError", name: "handleReadError", pkg: "net/http", typ: $funcType([$error], [], false)}, {prop: "closeNotify", name: "closeNotify", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
|
|
130416
|
+
ptrType$100.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}];
|
|
130344
130417
|
extraHeader.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([ptrType$9], [], false)}];
|
|
130345
130418
|
statusError.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130346
130419
|
HandlerFunc.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
|
|
130347
130420
|
ptrType$132.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
|
|
130348
130421
|
ptrType$133.methods = [{prop: "match", name: "match", pkg: "net/http", typ: $funcType([$String], [Handler, $String], false)}, {prop: "redirectToPathSlash", name: "redirectToPathSlash", pkg: "net/http", typ: $funcType([$String, $String, ptrType$19], [ptrType$19, $Bool], false)}, {prop: "shouldRedirectRLocked", name: "shouldRedirectRLocked", pkg: "net/http", typ: $funcType([$String, $String], [$Bool], false)}, {prop: "Handler", name: "Handler", pkg: "", typ: $funcType([ptrType$6], [Handler, $String], false)}, {prop: "handler", name: "handler", pkg: "net/http", typ: $funcType([$String, $String], [Handler, $String], false)}, {prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}, {prop: "Handle", name: "Handle", pkg: "", typ: $funcType([$String, Handler], [], false)}, {prop: "HandleFunc", name: "HandleFunc", pkg: "", typ: $funcType([$String, funcType$9], [], false)}];
|
|
130349
|
-
ptrType$51.methods = [{prop: "newConn", name: "newConn", pkg: "net/http", typ: $funcType([net.Conn], [ptrType$
|
|
130422
|
+
ptrType$51.methods = [{prop: "newConn", name: "newConn", pkg: "net/http", typ: $funcType([net.Conn], [ptrType$98], false)}, {prop: "maxHeaderBytes", name: "maxHeaderBytes", pkg: "net/http", typ: $funcType([], [$Int], false)}, {prop: "initialReadLimitSize", name: "initialReadLimitSize", pkg: "net/http", typ: $funcType([], [$Int64], false)}, {prop: "getDoneChan", name: "getDoneChan", pkg: "net/http", typ: $funcType([], [chanType$3], false)}, {prop: "getDoneChanLocked", name: "getDoneChanLocked", pkg: "net/http", typ: $funcType([], [chanType$2], false)}, {prop: "closeDoneChanLocked", name: "closeDoneChanLocked", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}, {prop: "Shutdown", name: "Shutdown", pkg: "", typ: $funcType([context.Context], [$error], false)}, {prop: "RegisterOnShutdown", name: "RegisterOnShutdown", pkg: "", typ: $funcType([funcType], [], false)}, {prop: "numListeners", name: "numListeners", pkg: "net/http", typ: $funcType([], [$Int], false)}, {prop: "closeIdleConns", name: "closeIdleConns", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "closeListenersLocked", name: "closeListenersLocked", pkg: "net/http", typ: $funcType([], [$error], false)}, {prop: "ListenAndServe", name: "ListenAndServe", pkg: "", typ: $funcType([], [$error], false)}, {prop: "shouldConfigureHTTP2ForServe", name: "shouldConfigureHTTP2ForServe", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "Serve", name: "Serve", pkg: "", typ: $funcType([net.Listener], [$error], false)}, {prop: "ServeTLS", name: "ServeTLS", pkg: "", typ: $funcType([net.Listener, $String, $String], [$error], false)}, {prop: "trackListener", name: "trackListener", pkg: "net/http", typ: $funcType([ptrType$102, $Bool], [$Bool], false)}, {prop: "trackConn", name: "trackConn", pkg: "net/http", typ: $funcType([ptrType$98, $Bool], [], false)}, {prop: "idleTimeout", name: "idleTimeout", pkg: "net/http", typ: $funcType([], [time.Duration], false)}, {prop: "readHeaderTimeout", name: "readHeaderTimeout", pkg: "net/http", typ: $funcType([], [time.Duration], false)}, {prop: "doKeepAlives", name: "doKeepAlives", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "shuttingDown", name: "shuttingDown", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "SetKeepAlivesEnabled", name: "SetKeepAlivesEnabled", pkg: "", typ: $funcType([$Bool], [], false)}, {prop: "logf", name: "logf", pkg: "net/http", typ: $funcType([$String, sliceType], [], true)}, {prop: "ListenAndServeTLS", name: "ListenAndServeTLS", pkg: "", typ: $funcType([$String, $String], [$error], false)}, {prop: "setupHTTP2_ServeTLS", name: "setupHTTP2_ServeTLS", pkg: "net/http", typ: $funcType([], [$error], false)}, {prop: "setupHTTP2_Serve", name: "setupHTTP2_Serve", pkg: "net/http", typ: $funcType([], [$error], false)}, {prop: "onceSetNextProtoDefaults_Serve", name: "onceSetNextProtoDefaults_Serve", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "onceSetNextProtoDefaults", name: "onceSetNextProtoDefaults", pkg: "net/http", typ: $funcType([], [], false)}];
|
|
130350
130423
|
ConnState.methods = [{prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130351
130424
|
serverHandler.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
|
|
130352
130425
|
ptrType$135.methods = [{prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}, {prop: "close", name: "close", pkg: "net/http", typ: $funcType([], [], false)}];
|
|
@@ -130364,7 +130437,7 @@ $packages["net/http"] = (function() {
|
|
|
130364
130437
|
ptrType$105.methods = [{prop: "shouldSendChunkedRequestBody", name: "shouldSendChunkedRequestBody", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "probeRequestBody", name: "probeRequestBody", pkg: "net/http", typ: $funcType([], [], false)}, {prop: "shouldSendContentLength", name: "shouldSendContentLength", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "writeHeader", name: "writeHeader", pkg: "net/http", typ: $funcType([io.Writer, ptrType$48], [$error], false)}, {prop: "writeBody", name: "writeBody", pkg: "net/http", typ: $funcType([io.Writer], [$error], false)}, {prop: "doBodyCopy", name: "doBodyCopy", pkg: "net/http", typ: $funcType([io.Writer, io.Reader], [$Int64, $error], false)}, {prop: "unwrapBody", name: "unwrapBody", pkg: "net/http", typ: $funcType([], [io.Reader], false)}];
|
|
130365
130438
|
ptrType$142.methods = [{prop: "protoAtLeast", name: "protoAtLeast", pkg: "net/http", typ: $funcType([$Int, $Int], [$Bool], false)}, {prop: "parseTransferEncoding", name: "parseTransferEncoding", pkg: "net/http", typ: $funcType([], [$error], false)}];
|
|
130366
130439
|
ptrType$107.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130367
|
-
ptrType$
|
|
130440
|
+
ptrType$97.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "readLocked", name: "readLocked", pkg: "net/http", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "readTrailer", name: "readTrailer", pkg: "net/http", typ: $funcType([], [$error], false)}, {prop: "unreadDataSizeLocked", name: "unreadDataSizeLocked", pkg: "net/http", typ: $funcType([], [$Int64], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}, {prop: "didEarlyClose", name: "didEarlyClose", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "bodyRemains", name: "bodyRemains", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "registerOnHitEOF", name: "registerOnHitEOF", pkg: "net/http", typ: $funcType([funcType], [], false)}];
|
|
130368
130441
|
bodyLocked.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
|
|
130369
130442
|
finishAsyncByteRead.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
|
|
130370
130443
|
bufioFlushWriter.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
|
|
@@ -130434,10 +130507,10 @@ $packages["net/http"] = (function() {
|
|
|
130434
130507
|
http2OpenStreamOptions.init("", [{prop: "PusherID", name: "PusherID", embedded: false, exported: true, typ: $Uint32, tag: ""}]);
|
|
130435
130508
|
http2FrameWriteRequest.init("net/http", [{prop: "write", name: "write", embedded: false, exported: false, typ: http2writeFramer, tag: ""}, {prop: "stream", name: "stream", embedded: false, exported: false, typ: ptrType$5, tag: ""}, {prop: "done", name: "done", embedded: false, exported: false, typ: chanType, tag: ""}]);
|
|
130436
130509
|
http2writeQueue.init("net/http", [{prop: "s", name: "s", embedded: false, exported: false, typ: sliceType$24, tag: ""}]);
|
|
130437
|
-
http2writeQueuePool.init(ptrType$
|
|
130510
|
+
http2writeQueuePool.init(ptrType$81);
|
|
130438
130511
|
http2PriorityWriteSchedulerConfig.init("", [{prop: "MaxClosedNodesInTree", name: "MaxClosedNodesInTree", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "MaxIdleNodesInTree", name: "MaxIdleNodesInTree", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "ThrottleOutOfOrderWrites", name: "ThrottleOutOfOrderWrites", embedded: false, exported: true, typ: $Bool, tag: ""}]);
|
|
130439
|
-
http2priorityNode.init("net/http", [{prop: "q", name: "q", embedded: false, exported: false, typ: http2writeQueue, tag: ""}, {prop: "id", name: "id", embedded: false, exported: false, typ: $Uint32, tag: ""}, {prop: "weight", name: "weight", embedded: false, exported: false, typ: $Uint8, tag: ""}, {prop: "state", name: "state", embedded: false, exported: false, typ: http2priorityNodeState, tag: ""}, {prop: "bytes", name: "bytes", embedded: false, exported: false, typ: $Int64, tag: ""}, {prop: "subtreeBytes", name: "subtreeBytes", embedded: false, exported: false, typ: $Int64, tag: ""}, {prop: "parent", name: "parent", embedded: false, exported: false, typ: ptrType$
|
|
130440
|
-
http2sortPriorityNodeSiblings.init(ptrType$
|
|
130512
|
+
http2priorityNode.init("net/http", [{prop: "q", name: "q", embedded: false, exported: false, typ: http2writeQueue, tag: ""}, {prop: "id", name: "id", embedded: false, exported: false, typ: $Uint32, tag: ""}, {prop: "weight", name: "weight", embedded: false, exported: false, typ: $Uint8, tag: ""}, {prop: "state", name: "state", embedded: false, exported: false, typ: http2priorityNodeState, tag: ""}, {prop: "bytes", name: "bytes", embedded: false, exported: false, typ: $Int64, tag: ""}, {prop: "subtreeBytes", name: "subtreeBytes", embedded: false, exported: false, typ: $Int64, tag: ""}, {prop: "parent", name: "parent", embedded: false, exported: false, typ: ptrType$83, tag: ""}, {prop: "kids", name: "kids", embedded: false, exported: false, typ: ptrType$83, tag: ""}, {prop: "prev", name: "prev", embedded: false, exported: false, typ: ptrType$83, tag: ""}, {prop: "next", name: "next", embedded: false, exported: false, typ: ptrType$83, tag: ""}]);
|
|
130513
|
+
http2sortPriorityNodeSiblings.init(ptrType$83);
|
|
130441
130514
|
http2priorityWriteScheduler.init("net/http", [{prop: "root", name: "root", embedded: false, exported: false, typ: http2priorityNode, tag: ""}, {prop: "nodes", name: "nodes", embedded: false, exported: false, typ: mapType$10, tag: ""}, {prop: "maxID", name: "maxID", embedded: false, exported: false, typ: $Uint32, tag: ""}, {prop: "closedNodes", name: "closedNodes", embedded: false, exported: false, typ: sliceType$25, tag: ""}, {prop: "idleNodes", name: "idleNodes", embedded: false, exported: false, typ: sliceType$25, tag: ""}, {prop: "maxClosedNodesInTree", name: "maxClosedNodesInTree", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "maxIdleNodesInTree", name: "maxIdleNodesInTree", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "writeThrottleLimit", name: "writeThrottleLimit", embedded: false, exported: false, typ: $Int32, tag: ""}, {prop: "enableWriteThrottle", name: "enableWriteThrottle", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "tmp", name: "tmp", embedded: false, exported: false, typ: sliceType$25, tag: ""}, {prop: "queuePool", name: "queuePool", embedded: false, exported: false, typ: http2writeQueuePool, tag: ""}]);
|
|
130442
130515
|
http2randomWriteScheduler.init("net/http", [{prop: "zero", name: "zero", embedded: false, exported: false, typ: http2writeQueue, tag: ""}, {prop: "sq", name: "sq", embedded: false, exported: false, typ: mapType$11, tag: ""}, {prop: "queuePool", name: "queuePool", embedded: false, exported: false, typ: http2writeQueuePool, tag: ""}]);
|
|
130443
130516
|
Header.init($String, sliceType$2);
|
|
@@ -130455,13 +130528,13 @@ $packages["net/http"] = (function() {
|
|
|
130455
130528
|
Response.init("", [{prop: "Status", name: "Status", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "StatusCode", name: "StatusCode", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "Proto", name: "Proto", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "ProtoMajor", name: "ProtoMajor", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "ProtoMinor", name: "ProtoMinor", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "Header", name: "Header", embedded: false, exported: true, typ: Header, tag: ""}, {prop: "Body", name: "Body", embedded: false, exported: true, typ: io.ReadCloser, tag: ""}, {prop: "ContentLength", name: "ContentLength", embedded: false, exported: true, typ: $Int64, tag: ""}, {prop: "TransferEncoding", name: "TransferEncoding", embedded: false, exported: true, typ: sliceType$2, tag: ""}, {prop: "Close", name: "Close", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "Uncompressed", name: "Uncompressed", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "Trailer", name: "Trailer", embedded: false, exported: true, typ: Header, tag: ""}, {prop: "Request", name: "Request", embedded: false, exported: true, typ: ptrType$6, tag: ""}, {prop: "TLS", name: "TLS", embedded: false, exported: true, typ: ptrType$21, tag: ""}]);
|
|
130456
130529
|
Handler.init([{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}]);
|
|
130457
130530
|
ResponseWriter.init([{prop: "Header", name: "Header", pkg: "", typ: $funcType([], [Header], false)}, {prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "WriteHeader", name: "WriteHeader", pkg: "", typ: $funcType([$Int], [], false)}]);
|
|
130458
|
-
conn.init("net/http", [{prop: "server", name: "server", embedded: false, exported: false, typ: ptrType$51, tag: ""}, {prop: "cancelCtx", name: "cancelCtx", embedded: false, exported: false, typ: context.CancelFunc, tag: ""}, {prop: "rwc", name: "rwc", embedded: false, exported: false, typ: net.Conn, tag: ""}, {prop: "remoteAddr", name: "remoteAddr", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "tlsState", name: "tlsState", embedded: false, exported: false, typ: ptrType$21, tag: ""}, {prop: "werr", name: "werr", embedded: false, exported: false, typ: $error, tag: ""}, {prop: "r", name: "r", embedded: false, exported: false, typ: ptrType$
|
|
130459
|
-
chunkWriter.init("net/http", [{prop: "res", name: "res", embedded: false, exported: false, typ: ptrType$
|
|
130460
|
-
response.init("net/http", [{prop: "conn", name: "conn", embedded: false, exported: false, typ: ptrType$
|
|
130531
|
+
conn.init("net/http", [{prop: "server", name: "server", embedded: false, exported: false, typ: ptrType$51, tag: ""}, {prop: "cancelCtx", name: "cancelCtx", embedded: false, exported: false, typ: context.CancelFunc, tag: ""}, {prop: "rwc", name: "rwc", embedded: false, exported: false, typ: net.Conn, tag: ""}, {prop: "remoteAddr", name: "remoteAddr", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "tlsState", name: "tlsState", embedded: false, exported: false, typ: ptrType$21, tag: ""}, {prop: "werr", name: "werr", embedded: false, exported: false, typ: $error, tag: ""}, {prop: "r", name: "r", embedded: false, exported: false, typ: ptrType$94, tag: ""}, {prop: "bufr", name: "bufr", embedded: false, exported: false, typ: ptrType$77, tag: ""}, {prop: "bufw", name: "bufw", embedded: false, exported: false, typ: ptrType$9, tag: ""}, {prop: "lastMethod", name: "lastMethod", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "curReq", name: "curReq", embedded: false, exported: false, typ: atomic.Value, tag: ""}, {prop: "curState", name: "curState", embedded: false, exported: false, typ: structType$2, tag: ""}, {prop: "mu", name: "mu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "hijackedv", name: "hijackedv", embedded: false, exported: false, typ: $Bool, tag: ""}]);
|
|
130532
|
+
chunkWriter.init("net/http", [{prop: "res", name: "res", embedded: false, exported: false, typ: ptrType$95, tag: ""}, {prop: "header", name: "header", embedded: false, exported: false, typ: Header, tag: ""}, {prop: "wroteHeader", name: "wroteHeader", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "chunking", name: "chunking", embedded: false, exported: false, typ: $Bool, tag: ""}]);
|
|
130533
|
+
response.init("net/http", [{prop: "conn", name: "conn", embedded: false, exported: false, typ: ptrType$98, tag: ""}, {prop: "req", name: "req", embedded: false, exported: false, typ: ptrType$6, tag: ""}, {prop: "reqBody", name: "reqBody", embedded: false, exported: false, typ: io.ReadCloser, tag: ""}, {prop: "cancelCtx", name: "cancelCtx", embedded: false, exported: false, typ: context.CancelFunc, tag: ""}, {prop: "wroteHeader", name: "wroteHeader", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "wroteContinue", name: "wroteContinue", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "wants10KeepAlive", name: "wants10KeepAlive", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "wantsClose", name: "wantsClose", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "canWriteContinue", name: "canWriteContinue", embedded: false, exported: false, typ: atomicBool, tag: ""}, {prop: "writeContinueMu", name: "writeContinueMu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "w", name: "w", embedded: false, exported: false, typ: ptrType$9, tag: ""}, {prop: "cw", name: "cw", embedded: false, exported: false, typ: chunkWriter, tag: ""}, {prop: "handlerHeader", name: "handlerHeader", embedded: false, exported: false, typ: Header, tag: ""}, {prop: "calledHeader", name: "calledHeader", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "written", name: "written", embedded: false, exported: false, typ: $Int64, tag: ""}, {prop: "contentLength", name: "contentLength", embedded: false, exported: false, typ: $Int64, tag: ""}, {prop: "status", name: "status", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "closeAfterReply", name: "closeAfterReply", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "requestBodyLimitHit", name: "requestBodyLimitHit", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "trailers", name: "trailers", embedded: false, exported: false, typ: sliceType$2, tag: ""}, {prop: "handlerDone", name: "handlerDone", embedded: false, exported: false, typ: atomicBool, tag: ""}, {prop: "dateBuf", name: "dateBuf", embedded: false, exported: false, typ: arrayType$1, tag: ""}, {prop: "clenBuf", name: "clenBuf", embedded: false, exported: false, typ: arrayType$7, tag: ""}, {prop: "statusBuf", name: "statusBuf", embedded: false, exported: false, typ: arrayType$8, tag: ""}, {prop: "closeNotifyCh", name: "closeNotifyCh", embedded: false, exported: false, typ: chanType$10, tag: ""}, {prop: "didCloseNotify", name: "didCloseNotify", embedded: false, exported: false, typ: $Int32, tag: ""}]);
|
|
130461
130534
|
writerOnly.init("", [{prop: "Writer", name: "Writer", embedded: true, exported: true, typ: io.Writer, tag: ""}]);
|
|
130462
130535
|
readResult.init("net/http", [{prop: "_$0", name: "_", embedded: false, exported: false, typ: incomparable, tag: ""}, {prop: "n", name: "n", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "err", name: "err", embedded: false, exported: false, typ: $error, tag: ""}, {prop: "b", name: "b", embedded: false, exported: false, typ: $Uint8, tag: ""}]);
|
|
130463
|
-
connReader.init("net/http", [{prop: "conn", name: "conn", embedded: false, exported: false, typ: ptrType$
|
|
130464
|
-
expectContinueReader.init("net/http", [{prop: "resp", name: "resp", embedded: false, exported: false, typ: ptrType$
|
|
130536
|
+
connReader.init("net/http", [{prop: "conn", name: "conn", embedded: false, exported: false, typ: ptrType$98, tag: ""}, {prop: "mu", name: "mu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "hasByte", name: "hasByte", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "byteBuf", name: "byteBuf", embedded: false, exported: false, typ: arrayType$6, tag: ""}, {prop: "cond", name: "cond", embedded: false, exported: false, typ: ptrType$73, tag: ""}, {prop: "inRead", name: "inRead", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "aborted", name: "aborted", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "remain", name: "remain", embedded: false, exported: false, typ: $Int64, tag: ""}]);
|
|
130537
|
+
expectContinueReader.init("net/http", [{prop: "resp", name: "resp", embedded: false, exported: false, typ: ptrType$95, tag: ""}, {prop: "readCloser", name: "readCloser", embedded: false, exported: false, typ: io.ReadCloser, tag: ""}, {prop: "closed", name: "closed", embedded: false, exported: false, typ: atomicBool, tag: ""}, {prop: "sawEOF", name: "sawEOF", embedded: false, exported: false, typ: atomicBool, tag: ""}]);
|
|
130465
130538
|
extraHeader.init("net/http", [{prop: "contentType", name: "contentType", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "connection", name: "connection", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "transferEncoding", name: "transferEncoding", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "date", name: "date", embedded: false, exported: false, typ: sliceType$4, tag: ""}, {prop: "contentLength", name: "contentLength", embedded: false, exported: false, typ: sliceType$4, tag: ""}]);
|
|
130466
130539
|
closeWriter.init([{prop: "CloseWrite", name: "CloseWrite", pkg: "", typ: $funcType([], [$error], false)}]);
|
|
130467
130540
|
statusError.init("net/http", [{prop: "code", name: "code", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "text", name: "text", embedded: false, exported: false, typ: $String, tag: ""}]);
|
|
@@ -130473,9 +130546,9 @@ $packages["net/http"] = (function() {
|
|
|
130473
130546
|
serverHandler.init("net/http", [{prop: "srv", name: "srv", embedded: false, exported: false, typ: ptrType$51, tag: ""}]);
|
|
130474
130547
|
onceCloseListener.init("net/http", [{prop: "Listener", name: "Listener", embedded: true, exported: true, typ: net.Listener, tag: ""}, {prop: "once", name: "once", embedded: false, exported: false, typ: sync.Once, tag: ""}, {prop: "closeErr", name: "closeErr", embedded: false, exported: false, typ: $error, tag: ""}]);
|
|
130475
130548
|
globalOptionsHandler.init("", []);
|
|
130476
|
-
initALPNRequest.init("net/http", [{prop: "ctx", name: "ctx", embedded: false, exported: false, typ: context.Context, tag: ""}, {prop: "c", name: "c", embedded: false, exported: false, typ: ptrType$
|
|
130549
|
+
initALPNRequest.init("net/http", [{prop: "ctx", name: "ctx", embedded: false, exported: false, typ: context.Context, tag: ""}, {prop: "c", name: "c", embedded: false, exported: false, typ: ptrType$76, tag: ""}, {prop: "h", name: "h", embedded: false, exported: false, typ: serverHandler, tag: ""}]);
|
|
130477
130550
|
loggingConn.init("net/http", [{prop: "name", name: "name", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "Conn", name: "Conn", embedded: true, exported: true, typ: net.Conn, tag: ""}]);
|
|
130478
|
-
checkConnErrorWriter.init("net/http", [{prop: "c", name: "c", embedded: false, exported: false, typ: ptrType$
|
|
130551
|
+
checkConnErrorWriter.init("net/http", [{prop: "c", name: "c", embedded: false, exported: false, typ: ptrType$98, tag: ""}]);
|
|
130479
130552
|
sniffSig.init([{prop: "match", name: "match", pkg: "net/http", typ: $funcType([sliceType$4, $Int], [$String], false)}]);
|
|
130480
130553
|
exactSig.init("net/http", [{prop: "sig", name: "sig", embedded: false, exported: false, typ: sliceType$4, tag: ""}, {prop: "ct", name: "ct", embedded: false, exported: false, typ: $String, tag: ""}]);
|
|
130481
130554
|
maskedSig.init("net/http", [{prop: "mask", name: "mask", embedded: false, exported: false, typ: sliceType$4, tag: ""}, {prop: "pat", name: "pat", embedded: false, exported: false, typ: sliceType$4, tag: ""}, {prop: "skipWS", name: "skipWS", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "ct", name: "ct", embedded: false, exported: false, typ: $String, tag: ""}]);
|
|
@@ -130484,11 +130557,11 @@ $packages["net/http"] = (function() {
|
|
|
130484
130557
|
textSig.init("", []);
|
|
130485
130558
|
errorReader.init("net/http", [{prop: "err", name: "err", embedded: false, exported: false, typ: $error, tag: ""}]);
|
|
130486
130559
|
byteReader.init("net/http", [{prop: "b", name: "b", embedded: false, exported: false, typ: $Uint8, tag: ""}, {prop: "done", name: "done", embedded: false, exported: false, typ: $Bool, tag: ""}]);
|
|
130487
|
-
transferWriter.init("net/http", [{prop: "Method", name: "Method", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "Body", name: "Body", embedded: false, exported: true, typ: io.Reader, tag: ""}, {prop: "BodyCloser", name: "BodyCloser", embedded: false, exported: true, typ: io.Closer, tag: ""}, {prop: "ResponseToHEAD", name: "ResponseToHEAD", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "ContentLength", name: "ContentLength", embedded: false, exported: true, typ: $Int64, tag: ""}, {prop: "Close", name: "Close", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "TransferEncoding", name: "TransferEncoding", embedded: false, exported: true, typ: sliceType$2, tag: ""}, {prop: "Header", name: "Header", embedded: false, exported: true, typ: Header, tag: ""}, {prop: "Trailer", name: "Trailer", embedded: false, exported: true, typ: Header, tag: ""}, {prop: "IsResponse", name: "IsResponse", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "bodyReadError", name: "bodyReadError", embedded: false, exported: false, typ: $error, tag: ""}, {prop: "FlushHeaders", name: "FlushHeaders", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "ByteReadCh", name: "ByteReadCh", embedded: false, exported: true, typ: chanType$
|
|
130560
|
+
transferWriter.init("net/http", [{prop: "Method", name: "Method", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "Body", name: "Body", embedded: false, exported: true, typ: io.Reader, tag: ""}, {prop: "BodyCloser", name: "BodyCloser", embedded: false, exported: true, typ: io.Closer, tag: ""}, {prop: "ResponseToHEAD", name: "ResponseToHEAD", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "ContentLength", name: "ContentLength", embedded: false, exported: true, typ: $Int64, tag: ""}, {prop: "Close", name: "Close", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "TransferEncoding", name: "TransferEncoding", embedded: false, exported: true, typ: sliceType$2, tag: ""}, {prop: "Header", name: "Header", embedded: false, exported: true, typ: Header, tag: ""}, {prop: "Trailer", name: "Trailer", embedded: false, exported: true, typ: Header, tag: ""}, {prop: "IsResponse", name: "IsResponse", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "bodyReadError", name: "bodyReadError", embedded: false, exported: false, typ: $error, tag: ""}, {prop: "FlushHeaders", name: "FlushHeaders", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "ByteReadCh", name: "ByteReadCh", embedded: false, exported: true, typ: chanType$11, tag: ""}]);
|
|
130488
130561
|
transferReader.init("", [{prop: "Header", name: "Header", embedded: false, exported: true, typ: Header, tag: ""}, {prop: "StatusCode", name: "StatusCode", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "RequestMethod", name: "RequestMethod", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "ProtoMajor", name: "ProtoMajor", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "ProtoMinor", name: "ProtoMinor", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "Body", name: "Body", embedded: false, exported: true, typ: io.ReadCloser, tag: ""}, {prop: "ContentLength", name: "ContentLength", embedded: false, exported: true, typ: $Int64, tag: ""}, {prop: "Chunked", name: "Chunked", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "Close", name: "Close", embedded: false, exported: true, typ: $Bool, tag: ""}, {prop: "Trailer", name: "Trailer", embedded: false, exported: true, typ: Header, tag: ""}]);
|
|
130489
130562
|
unsupportedTEError.init("net/http", [{prop: "err", name: "err", embedded: false, exported: false, typ: $String, tag: ""}]);
|
|
130490
|
-
body.init("net/http", [{prop: "src", name: "src", embedded: false, exported: false, typ: io.Reader, tag: ""}, {prop: "hdr", name: "hdr", embedded: false, exported: false, typ: $emptyInterface, tag: ""}, {prop: "r", name: "r", embedded: false, exported: false, typ: ptrType$
|
|
130491
|
-
bodyLocked.init("net/http", [{prop: "b", name: "b", embedded: false, exported: false, typ: ptrType$
|
|
130563
|
+
body.init("net/http", [{prop: "src", name: "src", embedded: false, exported: false, typ: io.Reader, tag: ""}, {prop: "hdr", name: "hdr", embedded: false, exported: false, typ: $emptyInterface, tag: ""}, {prop: "r", name: "r", embedded: false, exported: false, typ: ptrType$77, tag: ""}, {prop: "closing", name: "closing", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "doEarlyClose", name: "doEarlyClose", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "mu", name: "mu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "sawEOF", name: "sawEOF", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "closed", name: "closed", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "earlyClose", name: "earlyClose", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "onHitEOF", name: "onHitEOF", embedded: false, exported: false, typ: funcType, tag: ""}]);
|
|
130564
|
+
bodyLocked.init("net/http", [{prop: "b", name: "b", embedded: false, exported: false, typ: ptrType$97, tag: ""}]);
|
|
130492
130565
|
finishAsyncByteRead.init("net/http", [{prop: "tw", name: "tw", embedded: false, exported: false, typ: ptrType$105, tag: ""}]);
|
|
130493
130566
|
bufioFlushWriter.init("net/http", [{prop: "w", name: "w", embedded: false, exported: false, typ: io.Writer, tag: ""}]);
|
|
130494
130567
|
readTrackingBody.init("net/http", [{prop: "ReadCloser", name: "ReadCloser", embedded: true, exported: true, typ: io.ReadCloser, tag: ""}, {prop: "didRead", name: "didRead", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "didClose", name: "didClose", embedded: false, exported: false, typ: $Bool, tag: ""}]);
|
|
@@ -130579,6 +130652,7 @@ $packages["net/http"] = (function() {
|
|
|
130579
130652
|
}))]);
|
|
130580
130653
|
http2errReadEmpty = errors.New("read from empty dataBuffer");
|
|
130581
130654
|
http2errCodeName = $makeMap(http2ErrCode.keyFor, [{ k: 0, v: "NO_ERROR" }, { k: 1, v: "PROTOCOL_ERROR" }, { k: 2, v: "INTERNAL_ERROR" }, { k: 3, v: "FLOW_CONTROL_ERROR" }, { k: 4, v: "SETTINGS_TIMEOUT" }, { k: 5, v: "STREAM_CLOSED" }, { k: 6, v: "FRAME_SIZE_ERROR" }, { k: 7, v: "REFUSED_STREAM" }, { k: 8, v: "CANCEL" }, { k: 9, v: "COMPRESSION_ERROR" }, { k: 10, v: "CONNECT_ERROR" }, { k: 11, v: "ENHANCE_YOUR_CALM" }, { k: 12, v: "INADEQUATE_SECURITY" }, { k: 13, v: "HTTP_1_1_REQUIRED" }]);
|
|
130655
|
+
http2errFromPeer = errors.New("received from peer");
|
|
130582
130656
|
http2errMixPseudoHeaderTypes = errors.New("mix of request and response pseudo headers");
|
|
130583
130657
|
http2errPseudoAfterRegular = errors.New("pseudo header field after regular");
|
|
130584
130658
|
http2padZeros = $makeSlice(sliceType$4, 255);
|
|
@@ -130646,6 +130720,7 @@ $packages["net/http"] = (function() {
|
|
|
130646
130720
|
http2errStopReqBodyWrite = errors.New("http2: aborting request body write");
|
|
130647
130721
|
http2errStopReqBodyWriteAndCancel = errors.New("http2: canceling request");
|
|
130648
130722
|
http2errReqBodyTooLong = errors.New("http2: request body larger than specified content length");
|
|
130723
|
+
http2errNilRequestURL = errors.New("http2: Request.URI is nil");
|
|
130649
130724
|
http2errClosedResponseBody = errors.New("http2: response body closed");
|
|
130650
130725
|
http2errResponseHeaderListSize = errors.New("http2: response header list larger than advertised limit");
|
|
130651
130726
|
http2errRequestHeaderListSize = errors.New("http2: request header list larger than peer's advertised limit");
|
|
@@ -136095,24 +136170,24 @@ $packages["github.com/nuberu/webgl"] = (function() {
|
|
|
136095
136170
|
/* */ if ($assertType(_ref, sliceType$9, true)[1]) { $s = 10; continue; }
|
|
136096
136171
|
/* */ $s = 11; continue;
|
|
136097
136172
|
/* if ($assertType(_ref, sliceType, true)[1]) { */ case 1:
|
|
136098
|
-
s$
|
|
136099
|
-
h = ($pointerOfStructConversion(((s$
|
|
136173
|
+
s$5[0] = _ref.$val;
|
|
136174
|
+
h = ($pointerOfStructConversion(((s$5.$ptr || (s$5.$ptr = new ptrType$1(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$5)))), ptrType));
|
|
136100
136175
|
$s = -1; return ((h)).$get();
|
|
136101
136176
|
/* } else if ($assertType(_ref, sliceType$1, true)[1]) { */ case 2:
|
|
136102
|
-
s$
|
|
136103
|
-
h$1 = ($pointerOfStructConversion(((s$
|
|
136177
|
+
s$1[0] = _ref.$val;
|
|
136178
|
+
h$1 = ($pointerOfStructConversion(((s$1.$ptr || (s$1.$ptr = new ptrType$2(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$1)))), ptrType));
|
|
136104
136179
|
h$1.Len = $imul(h$1.Len, (2));
|
|
136105
136180
|
h$1.Cap = $imul(h$1.Cap, (2));
|
|
136106
136181
|
$s = -1; return ((h$1)).$get();
|
|
136107
136182
|
/* } else if ($assertType(_ref, sliceType$2, true)[1]) { */ case 3:
|
|
136108
|
-
s$
|
|
136109
|
-
h$2 = ($pointerOfStructConversion(((s$
|
|
136183
|
+
s$2[0] = _ref.$val;
|
|
136184
|
+
h$2 = ($pointerOfStructConversion(((s$2.$ptr || (s$2.$ptr = new ptrType$3(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$2)))), ptrType));
|
|
136110
136185
|
h$2.Len = $imul(h$2.Len, (4));
|
|
136111
136186
|
h$2.Cap = $imul(h$2.Cap, (4));
|
|
136112
136187
|
$s = -1; return ((h$2)).$get();
|
|
136113
136188
|
/* } else if ($assertType(_ref, sliceType$3, true)[1]) { */ case 4:
|
|
136114
|
-
s$
|
|
136115
|
-
h$3 = ($pointerOfStructConversion(((s$
|
|
136189
|
+
s$3[0] = _ref.$val;
|
|
136190
|
+
h$3 = ($pointerOfStructConversion(((s$3.$ptr || (s$3.$ptr = new ptrType$4(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$3)))), ptrType));
|
|
136116
136191
|
h$3.Len = $imul(h$3.Len, (8));
|
|
136117
136192
|
h$3.Cap = $imul(h$3.Cap, (8));
|
|
136118
136193
|
$s = -1; return ((h$3)).$get();
|
|
@@ -136120,32 +136195,32 @@ $packages["github.com/nuberu/webgl"] = (function() {
|
|
|
136120
136195
|
s$10 = _ref.$val;
|
|
136121
136196
|
$s = -1; return s$10;
|
|
136122
136197
|
/* } else if ($assertType(_ref, sliceType$5, true)[1]) { */ case 6:
|
|
136123
|
-
s$
|
|
136124
|
-
h$4 = ($pointerOfStructConversion(((s$
|
|
136198
|
+
s$4[0] = _ref.$val;
|
|
136199
|
+
h$4 = ($pointerOfStructConversion(((s$4.$ptr || (s$4.$ptr = new ptrType$5(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$4)))), ptrType));
|
|
136125
136200
|
h$4.Len = $imul(h$4.Len, (2));
|
|
136126
136201
|
h$4.Cap = $imul(h$4.Cap, (2));
|
|
136127
136202
|
$s = -1; return ((h$4)).$get();
|
|
136128
136203
|
/* } else if ($assertType(_ref, sliceType$6, true)[1]) { */ case 7:
|
|
136129
|
-
s$
|
|
136130
|
-
h$5 = ($pointerOfStructConversion(((s$
|
|
136204
|
+
s$6[0] = _ref.$val;
|
|
136205
|
+
h$5 = ($pointerOfStructConversion(((s$6.$ptr || (s$6.$ptr = new ptrType$6(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$6)))), ptrType));
|
|
136131
136206
|
h$5.Len = $imul(h$5.Len, (4));
|
|
136132
136207
|
h$5.Cap = $imul(h$5.Cap, (4));
|
|
136133
136208
|
$s = -1; return ((h$5)).$get();
|
|
136134
136209
|
/* } else if ($assertType(_ref, sliceType$7, true)[1]) { */ case 8:
|
|
136135
|
-
s$
|
|
136136
|
-
h$6 = ($pointerOfStructConversion(((s$
|
|
136210
|
+
s$7[0] = _ref.$val;
|
|
136211
|
+
h$6 = ($pointerOfStructConversion(((s$7.$ptr || (s$7.$ptr = new ptrType$7(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$7)))), ptrType));
|
|
136137
136212
|
h$6.Len = $imul(h$6.Len, (8));
|
|
136138
136213
|
h$6.Cap = $imul(h$6.Cap, (8));
|
|
136139
136214
|
$s = -1; return ((h$6)).$get();
|
|
136140
136215
|
/* } else if ($assertType(_ref, sliceType$8, true)[1]) { */ case 9:
|
|
136141
|
-
s$
|
|
136142
|
-
h$7 = ($pointerOfStructConversion(((s$
|
|
136216
|
+
s$8[0] = _ref.$val;
|
|
136217
|
+
h$7 = ($pointerOfStructConversion(((s$8.$ptr || (s$8.$ptr = new ptrType$8(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$8)))), ptrType));
|
|
136143
136218
|
h$7.Len = $imul(h$7.Len, (4));
|
|
136144
136219
|
h$7.Cap = $imul(h$7.Cap, (4));
|
|
136145
136220
|
$s = -1; return ((h$7)).$get();
|
|
136146
136221
|
/* } else if ($assertType(_ref, sliceType$9, true)[1]) { */ case 10:
|
|
136147
|
-
s$
|
|
136148
|
-
h$8 = ($pointerOfStructConversion(((s$
|
|
136222
|
+
s$9[0] = _ref.$val;
|
|
136223
|
+
h$8 = ($pointerOfStructConversion(((s$9.$ptr || (s$9.$ptr = new ptrType$9(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$9)))), ptrType));
|
|
136149
136224
|
h$8.Len = $imul(h$8.Len, (8));
|
|
136150
136225
|
h$8.Cap = $imul(h$8.Cap, (8));
|
|
136151
136226
|
$s = -1; return ((h$8)).$get();
|
|
@@ -141082,14 +141157,14 @@ $packages["image/draw"] = (function() {
|
|
|
141082
141157
|
/* */ if ($assertType(_ref$1, ptrType$5, true)[1]) { $s = 8; continue; }
|
|
141083
141158
|
/* */ $s = 9; continue;
|
|
141084
141159
|
/* if ($assertType(_ref$1, ptrType$1, true)[1]) { */ case 6:
|
|
141085
|
-
src0[0] = _ref$1.$val;
|
|
141160
|
+
src0$1[0] = _ref$1.$val;
|
|
141086
141161
|
pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
|
|
141087
141162
|
var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
|
|
141088
141163
|
r$2 = 0;
|
|
141089
141164
|
g$1 = 0;
|
|
141090
141165
|
b$1 = 0;
|
|
141091
141166
|
a$1 = 0;
|
|
141092
|
-
_tuple$2 = $clone(src0[0].RGBAAt(x$1, y), color.RGBA).RGBA();
|
|
141167
|
+
_tuple$2 = $clone(src0$1[0].RGBAAt(x$1, y), color.RGBA).RGBA();
|
|
141093
141168
|
r$2 = _tuple$2[0];
|
|
141094
141169
|
g$1 = _tuple$2[1];
|
|
141095
141170
|
b$1 = _tuple$2[2];
|
|
@@ -141098,14 +141173,14 @@ $packages["image/draw"] = (function() {
|
|
|
141098
141173
|
}; })(out, src, src0, src0$1, src0$2);
|
|
141099
141174
|
$s = 9; continue;
|
|
141100
141175
|
/* } else if ($assertType(_ref$1, ptrType$4, true)[1]) { */ case 7:
|
|
141101
|
-
src0$
|
|
141176
|
+
src0$2[0] = _ref$1.$val;
|
|
141102
141177
|
pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
|
|
141103
141178
|
var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
|
|
141104
141179
|
r$2 = 0;
|
|
141105
141180
|
g$1 = 0;
|
|
141106
141181
|
b$1 = 0;
|
|
141107
141182
|
a$1 = 0;
|
|
141108
|
-
_tuple$2 = $clone(src0$
|
|
141183
|
+
_tuple$2 = $clone(src0$2[0].NRGBAAt(x$1, y), color.NRGBA).RGBA();
|
|
141109
141184
|
r$2 = _tuple$2[0];
|
|
141110
141185
|
g$1 = _tuple$2[1];
|
|
141111
141186
|
b$1 = _tuple$2[2];
|
|
@@ -141114,14 +141189,14 @@ $packages["image/draw"] = (function() {
|
|
|
141114
141189
|
}; })(out, src, src0, src0$1, src0$2);
|
|
141115
141190
|
$s = 9; continue;
|
|
141116
141191
|
/* } else if ($assertType(_ref$1, ptrType$5, true)[1]) { */ case 8:
|
|
141117
|
-
src0
|
|
141192
|
+
src0[0] = _ref$1.$val;
|
|
141118
141193
|
pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
|
|
141119
141194
|
var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
|
|
141120
141195
|
r$2 = 0;
|
|
141121
141196
|
g$1 = 0;
|
|
141122
141197
|
b$1 = 0;
|
|
141123
141198
|
a$1 = 0;
|
|
141124
|
-
_tuple$2 = $clone(src0
|
|
141199
|
+
_tuple$2 = $clone(src0[0].YCbCrAt(x$1, y), color.YCbCr).RGBA();
|
|
141125
141200
|
r$2 = _tuple$2[0];
|
|
141126
141201
|
g$1 = _tuple$2[1];
|
|
141127
141202
|
b$1 = _tuple$2[2];
|