@supraio/client-daemon-js 0.0.1-master.7 → 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 +365 -304
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +367 -306
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
- package/wasm_exec.js +2 -2
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;
|
|
@@ -121430,11 +121484,11 @@ $packages["net/http"] = (function() {
|
|
|
121430
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:
|
|
121431
121485
|
sc = this;
|
|
121432
121486
|
$r = sc.serveG.check(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
121433
|
-
|
|
121487
|
+
id = $clone(f.http2FrameHeader, http2FrameHeader).Header().StreamID;
|
|
121488
|
+
if (sc.inGoAway && (!((sc.goAwayCode === 0)) || id > sc.maxClientStreamID)) {
|
|
121434
121489
|
$s = -1; return $ifaceNil;
|
|
121435
121490
|
}
|
|
121436
121491
|
data = f.Data();
|
|
121437
|
-
id = $clone(f.http2FrameHeader, http2FrameHeader).Header().StreamID;
|
|
121438
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; }
|
|
121439
121493
|
_tuple = _r$2;
|
|
121440
121494
|
state = _tuple[0];
|
|
@@ -122633,8 +122687,8 @@ $packages["net/http"] = (function() {
|
|
|
122633
122687
|
};
|
|
122634
122688
|
http2responseWriter.prototype.handlerDone = function() { return this.$val.handlerDone(); };
|
|
122635
122689
|
http2responseWriter.ptr.prototype.Push = function(target, opts) {
|
|
122636
|
-
var
|
|
122637
|
-
/* */ $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:
|
|
122638
122692
|
w = this;
|
|
122639
122693
|
st = w.rws.stream;
|
|
122640
122694
|
sc = st.sc;
|
|
@@ -122702,44 +122756,41 @@ $packages["net/http"] = (function() {
|
|
|
122702
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; }
|
|
122703
122757
|
$s = -1; return _r$5;
|
|
122704
122758
|
/* } */ case 15:
|
|
122705
|
-
|
|
122706
|
-
|
|
122707
|
-
|
|
122708
|
-
/* */ $s =
|
|
122709
|
-
|
|
122710
|
-
|
|
122711
|
-
$s = -1; return _r$7;
|
|
122712
|
-
/* } */ case 20:
|
|
122713
|
-
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:
|
|
122714
122765
|
_i++;
|
|
122715
122766
|
/* } */ $s = 12; continue; case 13:
|
|
122716
|
-
_r$
|
|
122717
|
-
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;
|
|
122718
122769
|
if (!($interfaceIsEqual(err$1, $ifaceNil))) {
|
|
122719
122770
|
$s = -1; return err$1;
|
|
122720
122771
|
}
|
|
122721
|
-
/* */ if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { $s =
|
|
122722
|
-
/* */ $s =
|
|
122723
|
-
/* if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { */ case
|
|
122724
|
-
_r$
|
|
122725
|
-
$s = -1; return _r$
|
|
122726
|
-
/* } */ case
|
|
122727
|
-
_r$
|
|
122728
|
-
msg = new http2startPushRequest.ptr(st, opts.Method, u, http2cloneHeader(opts.Header), $assertType(_r$
|
|
122729
|
-
_r$
|
|
122730
|
-
_selection = _r$
|
|
122731
|
-
/* */ if (_selection[0] === 0) { $s =
|
|
122732
|
-
/* */ if (_selection[0] === 1) { $s =
|
|
122733
|
-
/* */ if (_selection[0] === 2) { $s =
|
|
122734
|
-
/* */ $s =
|
|
122735
|
-
/* 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:
|
|
122736
122787
|
$s = -1; return http2errClientDisconnected;
|
|
122737
|
-
/* } else if (_selection[0] === 1) { */ case
|
|
122788
|
+
/* } else if (_selection[0] === 1) { */ case 27:
|
|
122738
122789
|
$s = -1; return http2errStreamClosed;
|
|
122739
|
-
/* } else if (_selection[0] === 2) { */ case
|
|
122740
|
-
/* } */ case
|
|
122741
|
-
_r$
|
|
122742
|
-
_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;
|
|
122743
122794
|
if (_selection$1[0] === 0) {
|
|
122744
122795
|
$s = -1; return http2errClientDisconnected;
|
|
122745
122796
|
} else if (_selection$1[0] === 1) {
|
|
@@ -122750,7 +122801,7 @@ $packages["net/http"] = (function() {
|
|
|
122750
122801
|
$s = -1; return err$2;
|
|
122751
122802
|
}
|
|
122752
122803
|
$s = -1; return $ifaceNil;
|
|
122753
|
-
/* */ } 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;
|
|
122754
122805
|
};
|
|
122755
122806
|
http2responseWriter.prototype.Push = function(target, opts) { return this.$val.Push(target, opts); };
|
|
122756
122807
|
http2serverConn.ptr.prototype.startPush = function(msg) {
|
|
@@ -123243,8 +123294,8 @@ $packages["net/http"] = (function() {
|
|
|
123243
123294
|
};
|
|
123244
123295
|
http2writeWindowUpdate.prototype.writeFrame = function(ctx) { return this.$val.writeFrame(ctx); };
|
|
123245
123296
|
http2encodeHeaders = function(enc, h, keys) {
|
|
123246
|
-
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;
|
|
123247
|
-
/* */ $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);
|
|
123248
123299
|
/* */ if (keys === sliceType$2.nil) { $s = 1; continue; }
|
|
123249
123300
|
/* */ $s = 2; continue;
|
|
123250
123301
|
/* if (keys === sliceType$2.nil) { */ case 1:
|
|
@@ -123261,38 +123312,46 @@ $packages["net/http"] = (function() {
|
|
|
123261
123312
|
k = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
|
|
123262
123313
|
vv = (_entry = h[$String.keyFor(k)], _entry !== undefined ? _entry.v : sliceType$2.nil);
|
|
123263
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; }
|
|
123264
|
-
|
|
123265
|
-
|
|
123315
|
+
_tuple = _r$4;
|
|
123316
|
+
k$1 = _tuple[0];
|
|
123317
|
+
ascii = _tuple[1];
|
|
123318
|
+
/* */ if (!ascii) { $s = 8; continue; }
|
|
123266
123319
|
/* */ $s = 9; continue;
|
|
123267
|
-
/* if (!
|
|
123320
|
+
/* if (!ascii) { */ case 8:
|
|
123268
123321
|
_i++;
|
|
123269
123322
|
/* continue; */ $s = 5; continue;
|
|
123270
123323
|
/* } */ case 9:
|
|
123271
|
-
|
|
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";
|
|
123272
123331
|
_ref$1 = vv;
|
|
123273
123332
|
_i$1 = 0;
|
|
123274
|
-
/* while (true) { */ case
|
|
123275
|
-
/* 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; }
|
|
123276
123335
|
v = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
|
|
123277
|
-
/* */ if (!httpguts.ValidHeaderFieldValue(v)) { $s =
|
|
123278
|
-
/* */ $s = 13; continue;
|
|
123279
|
-
/* if (!httpguts.ValidHeaderFieldValue(v)) { */ case 12:
|
|
123280
|
-
_i$1++;
|
|
123281
|
-
/* continue; */ $s = 10; continue;
|
|
123282
|
-
/* } */ case 13:
|
|
123283
|
-
/* */ if (isTE && !(v === "trailers")) { $s = 14; continue; }
|
|
123336
|
+
/* */ if (!httpguts.ValidHeaderFieldValue(v)) { $s = 14; continue; }
|
|
123284
123337
|
/* */ $s = 15; continue;
|
|
123285
|
-
/* if (
|
|
123338
|
+
/* if (!httpguts.ValidHeaderFieldValue(v)) { */ case 14:
|
|
123286
123339
|
_i$1++;
|
|
123287
|
-
/* continue; */ $s =
|
|
123340
|
+
/* continue; */ $s = 12; continue;
|
|
123288
123341
|
/* } */ case 15:
|
|
123289
|
-
|
|
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; }
|
|
123290
123349
|
_i$1++;
|
|
123291
|
-
/* } */ $s =
|
|
123350
|
+
/* } */ $s = 12; continue; case 13:
|
|
123292
123351
|
_i++;
|
|
123293
123352
|
/* } */ $s = 5; continue; case 6:
|
|
123294
123353
|
$s = -1; return;
|
|
123295
|
-
/* */ } 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; } }
|
|
123296
123355
|
};
|
|
123297
123356
|
http2FrameWriteRequest.ptr.prototype.StreamID = function() {
|
|
123298
123357
|
var _tuple, ok, se, wr;
|
|
@@ -123471,16 +123530,16 @@ $packages["net/http"] = (function() {
|
|
|
123471
123530
|
}
|
|
123472
123531
|
x$4 = ln - 1 >> 0;
|
|
123473
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]));
|
|
123474
|
-
(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));
|
|
123475
123534
|
p.$set($subslice((p.$get()), 0, x$4));
|
|
123476
123535
|
return q;
|
|
123477
123536
|
};
|
|
123478
123537
|
http2NewPriorityWriteScheduler = function(cfg) {
|
|
123479
123538
|
var _key, cfg, ws;
|
|
123480
|
-
if (cfg === ptrType$
|
|
123539
|
+
if (cfg === ptrType$82.nil) {
|
|
123481
123540
|
cfg = new http2PriorityWriteSchedulerConfig.ptr(10, 10, false);
|
|
123482
123541
|
}
|
|
123483
|
-
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);
|
|
123484
123543
|
_key = 0; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: ws.root };
|
|
123485
123544
|
if (cfg.ThrottleOutOfOrderWrites) {
|
|
123486
123545
|
ws.writeThrottleLimit = 1024;
|
|
@@ -123499,24 +123558,24 @@ $packages["net/http"] = (function() {
|
|
|
123499
123558
|
return;
|
|
123500
123559
|
}
|
|
123501
123560
|
parent$1 = n.parent;
|
|
123502
|
-
if (!(parent$1 === ptrType$
|
|
123503
|
-
if (n.prev === ptrType$
|
|
123561
|
+
if (!(parent$1 === ptrType$83.nil)) {
|
|
123562
|
+
if (n.prev === ptrType$83.nil) {
|
|
123504
123563
|
parent$1.kids = n.next;
|
|
123505
123564
|
} else {
|
|
123506
123565
|
n.prev.next = n.next;
|
|
123507
123566
|
}
|
|
123508
|
-
if (!(n.next === ptrType$
|
|
123567
|
+
if (!(n.next === ptrType$83.nil)) {
|
|
123509
123568
|
n.next.prev = n.prev;
|
|
123510
123569
|
}
|
|
123511
123570
|
}
|
|
123512
123571
|
n.parent = parent;
|
|
123513
|
-
if (parent === ptrType$
|
|
123514
|
-
n.next = ptrType$
|
|
123515
|
-
n.prev = ptrType$
|
|
123572
|
+
if (parent === ptrType$83.nil) {
|
|
123573
|
+
n.next = ptrType$83.nil;
|
|
123574
|
+
n.prev = ptrType$83.nil;
|
|
123516
123575
|
} else {
|
|
123517
123576
|
n.next = parent.kids;
|
|
123518
|
-
n.prev = ptrType$
|
|
123519
|
-
if (!(n.next === ptrType$
|
|
123577
|
+
n.prev = ptrType$83.nil;
|
|
123578
|
+
if (!(n.next === ptrType$83.nil)) {
|
|
123520
123579
|
n.next.prev = n;
|
|
123521
123580
|
}
|
|
123522
123581
|
parent.kids = n;
|
|
@@ -123528,7 +123587,7 @@ $packages["net/http"] = (function() {
|
|
|
123528
123587
|
n = this;
|
|
123529
123588
|
n.bytes = (x$4 = n.bytes, x$5 = b, new $Int64(x$4.$high + x$5.$high, x$4.$low + x$5.$low));
|
|
123530
123589
|
while (true) {
|
|
123531
|
-
if (!(!(n === ptrType$
|
|
123590
|
+
if (!(!(n === ptrType$83.nil))) { break; }
|
|
123532
123591
|
n.subtreeBytes = (x$6 = n.subtreeBytes, x$7 = b, new $Int64(x$6.$high + x$7.$high, x$6.$low + x$7.$low));
|
|
123533
123592
|
n = n.parent;
|
|
123534
123593
|
}
|
|
@@ -123546,7 +123605,7 @@ $packages["net/http"] = (function() {
|
|
|
123546
123605
|
/* if (_v) { */ case 1:
|
|
123547
123606
|
$s = -1; return true;
|
|
123548
123607
|
/* } */ case 2:
|
|
123549
|
-
if (n.kids === ptrType$
|
|
123608
|
+
if (n.kids === ptrType$83.nil) {
|
|
123550
123609
|
$s = -1; return false;
|
|
123551
123610
|
}
|
|
123552
123611
|
if (!((n.id === 0))) {
|
|
@@ -123556,7 +123615,7 @@ $packages["net/http"] = (function() {
|
|
|
123556
123615
|
needSort = false;
|
|
123557
123616
|
k = n.kids.next;
|
|
123558
123617
|
while (true) {
|
|
123559
|
-
if (!(!(k === ptrType$
|
|
123618
|
+
if (!(!(k === ptrType$83.nil))) { break; }
|
|
123560
123619
|
if (!((k.weight === w))) {
|
|
123561
123620
|
needSort = true;
|
|
123562
123621
|
break;
|
|
@@ -123568,7 +123627,7 @@ $packages["net/http"] = (function() {
|
|
|
123568
123627
|
/* if (!needSort) { */ case 5:
|
|
123569
123628
|
k$1 = n.kids;
|
|
123570
123629
|
/* while (true) { */ case 7:
|
|
123571
|
-
/* if (!(!(k$1 === ptrType$
|
|
123630
|
+
/* if (!(!(k$1 === ptrType$83.nil))) { break; } */ if(!(!(k$1 === ptrType$83.nil))) { $s = 8; continue; }
|
|
123572
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; }
|
|
123573
123632
|
/* */ if (_r$3) { $s = 9; continue; }
|
|
123574
123633
|
/* */ $s = 10; continue;
|
|
@@ -123581,9 +123640,9 @@ $packages["net/http"] = (function() {
|
|
|
123581
123640
|
/* } */ case 6:
|
|
123582
123641
|
tmp.$set($subslice((tmp.$get()), 0, 0));
|
|
123583
123642
|
while (true) {
|
|
123584
|
-
if (!(!(n.kids === ptrType$
|
|
123643
|
+
if (!(!(n.kids === ptrType$83.nil))) { break; }
|
|
123585
123644
|
tmp.$set($append(tmp.$get(), n.kids));
|
|
123586
|
-
n.kids.setParent(ptrType$
|
|
123645
|
+
n.kids.setParent(ptrType$83.nil);
|
|
123587
123646
|
}
|
|
123588
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; }
|
|
123589
123648
|
i = tmp.$get().$length - 1 >> 0;
|
|
@@ -123594,7 +123653,7 @@ $packages["net/http"] = (function() {
|
|
|
123594
123653
|
}
|
|
123595
123654
|
k$2 = n.kids;
|
|
123596
123655
|
/* while (true) { */ case 13:
|
|
123597
|
-
/* if (!(!(k$2 === ptrType$
|
|
123656
|
+
/* if (!(!(k$2 === ptrType$83.nil))) { break; } */ if(!(!(k$2 === ptrType$83.nil))) { $s = 14; continue; }
|
|
123598
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; }
|
|
123599
123658
|
/* */ if (_r$4) { $s = 15; continue; }
|
|
123600
123659
|
/* */ $s = 16; continue;
|
|
@@ -123646,10 +123705,10 @@ $packages["net/http"] = (function() {
|
|
|
123646
123705
|
var _entry, _entry$1, _key, _r$2, curr, n, options, parent, streamID, ws, $s, $r;
|
|
123647
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:
|
|
123648
123707
|
ws = this;
|
|
123649
|
-
curr = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$
|
|
123650
|
-
/* */ 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; }
|
|
123651
123710
|
/* */ $s = 2; continue;
|
|
123652
|
-
/* if (!(curr === ptrType$
|
|
123711
|
+
/* if (!(curr === ptrType$83.nil)) { */ case 1:
|
|
123653
123712
|
/* */ if (!((curr.state === 2))) { $s = 3; continue; }
|
|
123654
123713
|
/* */ $s = 4; continue;
|
|
123655
123714
|
/* if (!((curr.state === 2))) { */ case 3:
|
|
@@ -123659,11 +123718,11 @@ $packages["net/http"] = (function() {
|
|
|
123659
123718
|
curr.state = 0;
|
|
123660
123719
|
$s = -1; return;
|
|
123661
123720
|
/* } */ case 2:
|
|
123662
|
-
parent = (_entry$1 = ws.nodes[$Uint32.keyFor(options.PusherID)], _entry$1 !== undefined ? _entry$1.v : ptrType$
|
|
123663
|
-
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) {
|
|
123664
123723
|
parent = ws.root;
|
|
123665
123724
|
}
|
|
123666
|
-
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);
|
|
123667
123726
|
n.setParent(parent);
|
|
123668
123727
|
_key = streamID; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: n };
|
|
123669
123728
|
if (streamID > ws.maxID) {
|
|
@@ -123681,26 +123740,26 @@ $packages["net/http"] = (function() {
|
|
|
123681
123740
|
if (streamID === 0) {
|
|
123682
123741
|
$panic(new $String("violation of WriteScheduler interface: cannot close stream 0"));
|
|
123683
123742
|
}
|
|
123684
|
-
/* */ 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; }
|
|
123685
123744
|
/* */ $s = 2; continue;
|
|
123686
|
-
/* 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:
|
|
123687
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; }
|
|
123688
123747
|
$panic(new $String(_r$2));
|
|
123689
123748
|
/* } */ case 2:
|
|
123690
|
-
/* */ 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; }
|
|
123691
123750
|
/* */ $s = 5; continue;
|
|
123692
|
-
/* 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:
|
|
123693
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; }
|
|
123694
123753
|
$panic(new $String(_r$3));
|
|
123695
123754
|
/* } */ case 5:
|
|
123696
|
-
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);
|
|
123697
123756
|
n.state = 1;
|
|
123698
123757
|
n.addBytes((x$4 = n.bytes, new $Int64(-x$4.$high, -x$4.$low)));
|
|
123699
123758
|
q[0] = $clone(n.q, http2writeQueue);
|
|
123700
|
-
(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]);
|
|
123701
123760
|
n.q.s = sliceType$24.nil;
|
|
123702
123761
|
if (ws.maxClosedNodesInTree > 0) {
|
|
123703
|
-
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);
|
|
123704
123763
|
} else {
|
|
123705
123764
|
ws.removeNode(n);
|
|
123706
123765
|
}
|
|
@@ -123714,19 +123773,19 @@ $packages["net/http"] = (function() {
|
|
|
123714
123773
|
if (streamID === 0) {
|
|
123715
123774
|
$panic(new $String("adjustPriority on root"));
|
|
123716
123775
|
}
|
|
123717
|
-
n = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$
|
|
123718
|
-
if (n === ptrType$
|
|
123776
|
+
n = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil);
|
|
123777
|
+
if (n === ptrType$83.nil) {
|
|
123719
123778
|
if (streamID <= ws.maxID || (ws.maxIdleNodesInTree === 0)) {
|
|
123720
123779
|
return;
|
|
123721
123780
|
}
|
|
123722
123781
|
ws.maxID = streamID;
|
|
123723
|
-
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);
|
|
123724
123783
|
n.setParent(ws.root);
|
|
123725
123784
|
_key = streamID; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: n };
|
|
123726
|
-
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);
|
|
123727
123786
|
}
|
|
123728
|
-
parent = (_entry$1 = ws.nodes[$Uint32.keyFor(priority.StreamDep)], _entry$1 !== undefined ? _entry$1.v : ptrType$
|
|
123729
|
-
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) {
|
|
123730
123789
|
n.setParent(ws.root);
|
|
123731
123790
|
n.weight = 15;
|
|
123732
123791
|
return;
|
|
@@ -123736,7 +123795,7 @@ $packages["net/http"] = (function() {
|
|
|
123736
123795
|
}
|
|
123737
123796
|
x$4 = parent.parent;
|
|
123738
123797
|
while (true) {
|
|
123739
|
-
if (!(!(x$4 === ptrType$
|
|
123798
|
+
if (!(!(x$4 === ptrType$83.nil))) { break; }
|
|
123740
123799
|
if (x$4 === n) {
|
|
123741
123800
|
parent.setParent(n.parent);
|
|
123742
123801
|
break;
|
|
@@ -123746,7 +123805,7 @@ $packages["net/http"] = (function() {
|
|
|
123746
123805
|
if (priority.Exclusive) {
|
|
123747
123806
|
k = parent.kids;
|
|
123748
123807
|
while (true) {
|
|
123749
|
-
if (!(!(k === ptrType$
|
|
123808
|
+
if (!(!(k === ptrType$83.nil))) { break; }
|
|
123750
123809
|
next = k.next;
|
|
123751
123810
|
if (!(k === n)) {
|
|
123752
123811
|
k.setParent(n);
|
|
@@ -123761,13 +123820,13 @@ $packages["net/http"] = (function() {
|
|
|
123761
123820
|
http2priorityWriteScheduler.ptr.prototype.Push = function(wr) {
|
|
123762
123821
|
var _entry, id, n, wr, ws;
|
|
123763
123822
|
ws = this;
|
|
123764
|
-
n = ptrType$
|
|
123823
|
+
n = ptrType$83.nil;
|
|
123765
123824
|
id = $clone(wr, http2FrameWriteRequest).StreamID();
|
|
123766
123825
|
if (id === 0) {
|
|
123767
123826
|
n = ws.root;
|
|
123768
123827
|
} else {
|
|
123769
|
-
n = (_entry = ws.nodes[$Uint32.keyFor(id)], _entry !== undefined ? _entry.v : ptrType$
|
|
123770
|
-
if (n === ptrType$
|
|
123828
|
+
n = (_entry = ws.nodes[$Uint32.keyFor(id)], _entry !== undefined ? _entry.v : ptrType$83.nil);
|
|
123829
|
+
if (n === ptrType$83.nil) {
|
|
123771
123830
|
if ($clone(wr, http2FrameWriteRequest).DataSize() > 0) {
|
|
123772
123831
|
$panic(new $String("add DATA on non-open stream"));
|
|
123773
123832
|
}
|
|
@@ -123786,7 +123845,7 @@ $packages["net/http"] = (function() {
|
|
|
123786
123845
|
wr[0] = new http2FrameWriteRequest.ptr($ifaceNil, ptrType$5.nil, $chanNil);
|
|
123787
123846
|
ok[0] = false;
|
|
123788
123847
|
ws[0] = this;
|
|
123789
|
-
_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) {
|
|
123790
123849
|
var _tuple, limit, n, openParent;
|
|
123791
123850
|
limit = 2147483647;
|
|
123792
123851
|
if (openParent) {
|
|
@@ -123838,11 +123897,11 @@ $packages["net/http"] = (function() {
|
|
|
123838
123897
|
ws = this;
|
|
123839
123898
|
k = n.kids;
|
|
123840
123899
|
while (true) {
|
|
123841
|
-
if (!(!(k === ptrType$
|
|
123900
|
+
if (!(!(k === ptrType$83.nil))) { break; }
|
|
123842
123901
|
k.setParent(n.parent);
|
|
123843
123902
|
k = k.next;
|
|
123844
123903
|
}
|
|
123845
|
-
n.setParent(ptrType$
|
|
123904
|
+
n.setParent(ptrType$83.nil);
|
|
123846
123905
|
delete ws.nodes[$Uint32.keyFor(n.id)];
|
|
123847
123906
|
};
|
|
123848
123907
|
http2priorityWriteScheduler.prototype.removeNode = function(n) { return this.$val.removeNode(n); };
|
|
@@ -123857,14 +123916,14 @@ $packages["net/http"] = (function() {
|
|
|
123857
123916
|
http2randomWriteScheduler.ptr.prototype.CloseStream = function(streamID) {
|
|
123858
123917
|
var _entry, _tuple, ok, q, streamID, ws;
|
|
123859
123918
|
ws = this;
|
|
123860
|
-
_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]);
|
|
123861
123920
|
q = _tuple[0];
|
|
123862
123921
|
ok = _tuple[1];
|
|
123863
123922
|
if (!ok) {
|
|
123864
123923
|
return;
|
|
123865
123924
|
}
|
|
123866
123925
|
delete ws.sq[$Uint32.keyFor(streamID)];
|
|
123867
|
-
(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);
|
|
123868
123927
|
};
|
|
123869
123928
|
http2randomWriteScheduler.prototype.CloseStream = function(streamID) { return this.$val.CloseStream(streamID); };
|
|
123870
123929
|
http2randomWriteScheduler.ptr.prototype.AdjustStream = function(streamID, priority) {
|
|
@@ -123880,11 +123939,11 @@ $packages["net/http"] = (function() {
|
|
|
123880
123939
|
ws.zero.push($clone(wr, http2FrameWriteRequest));
|
|
123881
123940
|
return;
|
|
123882
123941
|
}
|
|
123883
|
-
_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]);
|
|
123884
123943
|
q = _tuple[0];
|
|
123885
123944
|
ok = _tuple[1];
|
|
123886
123945
|
if (!ok) {
|
|
123887
|
-
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();
|
|
123888
123947
|
_key = id; (ws.sq || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: q };
|
|
123889
123948
|
}
|
|
123890
123949
|
q.push($clone(wr, http2FrameWriteRequest));
|
|
@@ -123914,7 +123973,7 @@ $packages["net/http"] = (function() {
|
|
|
123914
123973
|
if (ok) {
|
|
123915
123974
|
if (q.empty()) {
|
|
123916
123975
|
delete ws.sq[$Uint32.keyFor(streamID)];
|
|
123917
|
-
(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);
|
|
123918
123977
|
}
|
|
123919
123978
|
return [wr, true];
|
|
123920
123979
|
}
|
|
@@ -124086,10 +124145,10 @@ $packages["net/http"] = (function() {
|
|
|
124086
124145
|
var _entry, _entry$1, _i, _keys, _r$2, _ref, _tmp, _tmp$1, exclude, h, hs, k, kvs, vv, $s, $r;
|
|
124087
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:
|
|
124088
124147
|
kvs = sliceType$5.nil;
|
|
124089
|
-
hs = ptrType$
|
|
124148
|
+
hs = ptrType$86.nil;
|
|
124090
124149
|
h = this.$val;
|
|
124091
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; }
|
|
124092
|
-
hs = $assertType(_r$2, ptrType$
|
|
124151
|
+
hs = $assertType(_r$2, ptrType$86);
|
|
124093
124152
|
if (hs.kvs.$capacity < $keys(h).length) {
|
|
124094
124153
|
hs.kvs = $makeSlice(sliceType$5, 0, $keys(h).length);
|
|
124095
124154
|
}
|
|
@@ -124454,10 +124513,10 @@ $packages["net/http"] = (function() {
|
|
|
124454
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:
|
|
124455
124514
|
r = this;
|
|
124456
124515
|
if (r.MultipartForm === multipartByReader) {
|
|
124457
|
-
$s = -1; return [ptrType$
|
|
124516
|
+
$s = -1; return [ptrType$87.nil, errors.New("http: MultipartReader called twice")];
|
|
124458
124517
|
}
|
|
124459
124518
|
if (!(r.MultipartForm === ptrType$20.nil)) {
|
|
124460
|
-
$s = -1; return [ptrType$
|
|
124519
|
+
$s = -1; return [ptrType$87.nil, errors.New("http: multipart handled by ParseMultipartForm")];
|
|
124461
124520
|
}
|
|
124462
124521
|
r.MultipartForm = multipartByReader;
|
|
124463
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; }
|
|
@@ -124472,7 +124531,7 @@ $packages["net/http"] = (function() {
|
|
|
124472
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; }
|
|
124473
124532
|
v = _r$2;
|
|
124474
124533
|
if (v === "") {
|
|
124475
|
-
$s = -1; return [ptrType$
|
|
124534
|
+
$s = -1; return [ptrType$87.nil, $pkg.ErrNotMultipart];
|
|
124476
124535
|
}
|
|
124477
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; }
|
|
124478
124537
|
_tuple = _r$3;
|
|
@@ -124480,13 +124539,13 @@ $packages["net/http"] = (function() {
|
|
|
124480
124539
|
params = _tuple[1];
|
|
124481
124540
|
err = _tuple[2];
|
|
124482
124541
|
if (!($interfaceIsEqual(err, $ifaceNil)) || !(d === "multipart/form-data" || allowMixed && d === "multipart/mixed")) {
|
|
124483
|
-
$s = -1; return [ptrType$
|
|
124542
|
+
$s = -1; return [ptrType$87.nil, $pkg.ErrNotMultipart];
|
|
124484
124543
|
}
|
|
124485
124544
|
_tuple$1 = (_entry = params[$String.keyFor("boundary")], _entry !== undefined ? [_entry.v, true] : ["", false]);
|
|
124486
124545
|
boundary = _tuple$1[0];
|
|
124487
124546
|
ok = _tuple$1[1];
|
|
124488
124547
|
if (!ok) {
|
|
124489
|
-
$s = -1; return [ptrType$
|
|
124548
|
+
$s = -1; return [ptrType$87.nil, $pkg.ErrMissingBoundary];
|
|
124490
124549
|
}
|
|
124491
124550
|
$s = -1; return [multipart.NewReader(r.Body, boundary), $ifaceNil];
|
|
124492
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;
|
|
@@ -124971,7 +125030,7 @@ $packages["net/http"] = (function() {
|
|
|
124971
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; }
|
|
124972
125031
|
v = _r$2;
|
|
124973
125032
|
if (!($interfaceIsEqual(v, $ifaceNil))) {
|
|
124974
|
-
tr = $assertType(v, ptrType$
|
|
125033
|
+
tr = $assertType(v, ptrType$90);
|
|
124975
125034
|
tr.R = br;
|
|
124976
125035
|
$s = -1; return tr;
|
|
124977
125036
|
}
|
|
@@ -124981,7 +125040,7 @@ $packages["net/http"] = (function() {
|
|
|
124981
125040
|
};
|
|
124982
125041
|
putTextprotoReader = function(r) {
|
|
124983
125042
|
var r;
|
|
124984
|
-
r.R = ptrType$
|
|
125043
|
+
r.R = ptrType$77.nil;
|
|
124985
125044
|
textprotoReaderPool.Put(r);
|
|
124986
125045
|
};
|
|
124987
125046
|
readRequest = function(b, deleteHostHeader) {
|
|
@@ -125225,7 +125284,7 @@ $packages["net/http"] = (function() {
|
|
|
125225
125284
|
/* if (ct === "application/x-www-form-urlencoded") { */ case 4:
|
|
125226
125285
|
reader = r.Body;
|
|
125227
125286
|
maxFormSize = new $Int64(2147483647, 4294967295);
|
|
125228
|
-
_tuple$1 = $assertType(r.Body, ptrType$
|
|
125287
|
+
_tuple$1 = $assertType(r.Body, ptrType$91, true);
|
|
125229
125288
|
ok = _tuple$1[1];
|
|
125230
125289
|
if (!ok) {
|
|
125231
125290
|
maxFormSize = new $Int64(0, 10485760);
|
|
@@ -125669,12 +125728,12 @@ $packages["net/http"] = (function() {
|
|
|
125669
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;
|
|
125670
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:
|
|
125671
125730
|
rwc = $ifaceNil;
|
|
125672
|
-
buf = ptrType$
|
|
125731
|
+
buf = ptrType$92.nil;
|
|
125673
125732
|
err = $ifaceNil;
|
|
125674
125733
|
c = this;
|
|
125675
125734
|
if (c.hijackedv) {
|
|
125676
125735
|
_tmp = $ifaceNil;
|
|
125677
|
-
_tmp$1 = ptrType$
|
|
125736
|
+
_tmp$1 = ptrType$92.nil;
|
|
125678
125737
|
_tmp$2 = $pkg.ErrHijacked;
|
|
125679
125738
|
rwc = _tmp;
|
|
125680
125739
|
buf = _tmp$1;
|
|
@@ -125697,7 +125756,7 @@ $packages["net/http"] = (function() {
|
|
|
125697
125756
|
/* */ $s = 7; continue;
|
|
125698
125757
|
/* if (!($interfaceIsEqual(err$1, $ifaceNil))) { */ case 6:
|
|
125699
125758
|
_tmp$3 = $ifaceNil;
|
|
125700
|
-
_tmp$4 = ptrType$
|
|
125759
|
+
_tmp$4 = ptrType$92.nil;
|
|
125701
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; }
|
|
125702
125761
|
_tmp$5 = _r$4;
|
|
125703
125762
|
rwc = _tmp$3;
|
|
@@ -125859,17 +125918,17 @@ $packages["net/http"] = (function() {
|
|
|
125859
125918
|
$ptrType(atomicBool).prototype.isSet = function() {
|
|
125860
125919
|
var _ptr, b;
|
|
125861
125920
|
b = this;
|
|
125862
|
-
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));
|
|
125863
125922
|
};
|
|
125864
125923
|
$ptrType(atomicBool).prototype.setTrue = function() {
|
|
125865
125924
|
var _ptr, b;
|
|
125866
125925
|
b = this;
|
|
125867
|
-
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);
|
|
125868
125927
|
};
|
|
125869
125928
|
$ptrType(atomicBool).prototype.setFalse = function() {
|
|
125870
125929
|
var _ptr, b;
|
|
125871
125930
|
b = this;
|
|
125872
|
-
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);
|
|
125873
125932
|
};
|
|
125874
125933
|
response.ptr.prototype.declareTrailer = function(k) {
|
|
125875
125934
|
var _r$2, _r$3, k, w, $s, $r;
|
|
@@ -125976,7 +126035,7 @@ $packages["net/http"] = (function() {
|
|
|
125976
126035
|
var _r$2, c, rwc, srv, $s, $r;
|
|
125977
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:
|
|
125978
126037
|
srv = this;
|
|
125979
|
-
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);
|
|
125980
126039
|
/* */ if (false) { $s = 1; continue; }
|
|
125981
126040
|
/* */ $s = 2; continue;
|
|
125982
126041
|
/* if (false) { */ case 1:
|
|
@@ -125992,7 +126051,7 @@ $packages["net/http"] = (function() {
|
|
|
125992
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:
|
|
125993
126052
|
cr = this;
|
|
125994
126053
|
$r = cr.mu.Lock(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
125995
|
-
if (cr.cond === ptrType$
|
|
126054
|
+
if (cr.cond === ptrType$73.nil) {
|
|
125996
126055
|
cr.cond = sync.NewCond(cr.mu);
|
|
125997
126056
|
}
|
|
125998
126057
|
$s = -1; return;
|
|
@@ -126116,11 +126175,11 @@ $packages["net/http"] = (function() {
|
|
|
126116
126175
|
var _tuple, cr, res, $s, $r;
|
|
126117
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:
|
|
126118
126177
|
cr = this;
|
|
126119
|
-
_tuple = $assertType(cr.conn.curReq.Load(), ptrType$
|
|
126178
|
+
_tuple = $assertType(cr.conn.curReq.Load(), ptrType$95, true);
|
|
126120
126179
|
res = _tuple[0];
|
|
126121
|
-
/* */ 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; }
|
|
126122
126181
|
/* */ $s = 2; continue;
|
|
126123
|
-
/* 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:
|
|
126124
126183
|
$r = $send(res.closeNotifyCh, true); /* */ $s = 3; case 3: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
126125
126184
|
/* } */ case 2:
|
|
126126
126185
|
$s = -1; return;
|
|
@@ -126213,7 +126272,7 @@ $packages["net/http"] = (function() {
|
|
|
126213
126272
|
} else if (_1 === (4096)) {
|
|
126214
126273
|
return bufioWriter4kPool;
|
|
126215
126274
|
}
|
|
126216
|
-
return ptrType$
|
|
126275
|
+
return ptrType$96.nil;
|
|
126217
126276
|
};
|
|
126218
126277
|
newBufioReader = function(r) {
|
|
126219
126278
|
var _r$2, br, r, v, $s, $r;
|
|
@@ -126221,7 +126280,7 @@ $packages["net/http"] = (function() {
|
|
|
126221
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; }
|
|
126222
126281
|
v = _r$2;
|
|
126223
126282
|
if (!($interfaceIsEqual(v, $ifaceNil))) {
|
|
126224
|
-
br = $assertType(v, ptrType$
|
|
126283
|
+
br = $assertType(v, ptrType$77);
|
|
126225
126284
|
br.Reset(r);
|
|
126226
126285
|
$s = -1; return br;
|
|
126227
126286
|
}
|
|
@@ -126237,9 +126296,9 @@ $packages["net/http"] = (function() {
|
|
|
126237
126296
|
var _r$2, bw, pool, size, v, w, $s, $r;
|
|
126238
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:
|
|
126239
126298
|
pool = bufioWriterPool(size);
|
|
126240
|
-
/* */ if (!(pool === ptrType$
|
|
126299
|
+
/* */ if (!(pool === ptrType$96.nil)) { $s = 1; continue; }
|
|
126241
126300
|
/* */ $s = 2; continue;
|
|
126242
|
-
/* if (!(pool === ptrType$
|
|
126301
|
+
/* if (!(pool === ptrType$96.nil)) { */ case 1:
|
|
126243
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; }
|
|
126244
126303
|
v = _r$2;
|
|
126245
126304
|
if (!($interfaceIsEqual(v, $ifaceNil))) {
|
|
@@ -126255,7 +126314,7 @@ $packages["net/http"] = (function() {
|
|
|
126255
126314
|
var bw, pool;
|
|
126256
126315
|
bw.Reset($ifaceNil);
|
|
126257
126316
|
pool = bufioWriterPool(bw.Available());
|
|
126258
|
-
if (!(pool === ptrType$
|
|
126317
|
+
if (!(pool === ptrType$96.nil)) {
|
|
126259
126318
|
pool.Put(bw);
|
|
126260
126319
|
}
|
|
126261
126320
|
};
|
|
@@ -126353,14 +126412,14 @@ $packages["net/http"] = (function() {
|
|
|
126353
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);
|
|
126354
126413
|
c = [c];
|
|
126355
126414
|
d = [d];
|
|
126356
|
-
w = ptrType$
|
|
126415
|
+
w = ptrType$95.nil;
|
|
126357
126416
|
err = $ifaceNil;
|
|
126358
126417
|
c[0] = this;
|
|
126359
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; }
|
|
126360
126419
|
/* */ if (_r$2) { $s = 1; continue; }
|
|
126361
126420
|
/* */ $s = 2; continue;
|
|
126362
126421
|
/* if (_r$2) { */ case 1:
|
|
126363
|
-
_tmp = ptrType$
|
|
126422
|
+
_tmp = ptrType$95.nil;
|
|
126364
126423
|
_tmp$1 = $pkg.ErrHijacked;
|
|
126365
126424
|
w = _tmp;
|
|
126366
126425
|
err = _tmp$1;
|
|
@@ -126408,20 +126467,20 @@ $packages["net/http"] = (function() {
|
|
|
126408
126467
|
err = _tuple$1[1];
|
|
126409
126468
|
if (!($interfaceIsEqual(err, $ifaceNil))) {
|
|
126410
126469
|
if (c[0].r.hitReadLimit()) {
|
|
126411
|
-
_tmp$2 = ptrType$
|
|
126470
|
+
_tmp$2 = ptrType$95.nil;
|
|
126412
126471
|
_tmp$3 = errTooLarge;
|
|
126413
126472
|
w = _tmp$2;
|
|
126414
126473
|
err = _tmp$3;
|
|
126415
126474
|
$s = -1; return [w, err];
|
|
126416
126475
|
}
|
|
126417
|
-
_tmp$4 = ptrType$
|
|
126476
|
+
_tmp$4 = ptrType$95.nil;
|
|
126418
126477
|
_tmp$5 = err;
|
|
126419
126478
|
w = _tmp$4;
|
|
126420
126479
|
err = _tmp$5;
|
|
126421
126480
|
$s = -1; return [w, err];
|
|
126422
126481
|
}
|
|
126423
126482
|
if (!http1ServerSupportsRequest(req)) {
|
|
126424
|
-
_tmp$6 = ptrType$
|
|
126483
|
+
_tmp$6 = ptrType$95.nil;
|
|
126425
126484
|
_tmp$7 = (x$4 = new statusError.ptr(505, "unsupported protocol version"), new x$4.constructor.elem(x$4));
|
|
126426
126485
|
w = _tmp$6;
|
|
126427
126486
|
err = _tmp$7;
|
|
@@ -126434,21 +126493,21 @@ $packages["net/http"] = (function() {
|
|
|
126434
126493
|
haveHost = _tuple$2[1];
|
|
126435
126494
|
isH2Upgrade = req.isH2Upgrade();
|
|
126436
126495
|
if (req.ProtoAtLeast(1, 1) && (!haveHost || (hosts.$length === 0)) && !isH2Upgrade && !(req.Method === "CONNECT")) {
|
|
126437
|
-
_tmp$8 = ptrType$
|
|
126496
|
+
_tmp$8 = ptrType$95.nil;
|
|
126438
126497
|
_tmp$9 = badRequestError("missing required Host header");
|
|
126439
126498
|
w = _tmp$8;
|
|
126440
126499
|
err = _tmp$9;
|
|
126441
126500
|
$s = -1; return [w, err];
|
|
126442
126501
|
}
|
|
126443
126502
|
if (hosts.$length > 1) {
|
|
126444
|
-
_tmp$10 = ptrType$
|
|
126503
|
+
_tmp$10 = ptrType$95.nil;
|
|
126445
126504
|
_tmp$11 = badRequestError("too many Host headers");
|
|
126446
126505
|
w = _tmp$10;
|
|
126447
126506
|
err = _tmp$11;
|
|
126448
126507
|
$s = -1; return [w, err];
|
|
126449
126508
|
}
|
|
126450
126509
|
if ((hosts.$length === 1) && !httpguts.ValidHostHeader((0 >= hosts.$length ? ($throwRuntimeError("index out of range"), undefined) : hosts.$array[hosts.$offset + 0]))) {
|
|
126451
|
-
_tmp$12 = ptrType$
|
|
126510
|
+
_tmp$12 = ptrType$95.nil;
|
|
126452
126511
|
_tmp$13 = badRequestError("malformed Host header");
|
|
126453
126512
|
w = _tmp$12;
|
|
126454
126513
|
err = _tmp$13;
|
|
@@ -126467,7 +126526,7 @@ $packages["net/http"] = (function() {
|
|
|
126467
126526
|
k = _entry$1.k;
|
|
126468
126527
|
vv = _entry$1.v;
|
|
126469
126528
|
if (!httpguts.ValidHeaderFieldName(k)) {
|
|
126470
|
-
_tmp$14 = ptrType$
|
|
126529
|
+
_tmp$14 = ptrType$95.nil;
|
|
126471
126530
|
_tmp$15 = badRequestError("invalid header name");
|
|
126472
126531
|
w = _tmp$14;
|
|
126473
126532
|
err = _tmp$15;
|
|
@@ -126479,7 +126538,7 @@ $packages["net/http"] = (function() {
|
|
|
126479
126538
|
if (!(_i$1 < _ref$1.$length)) { break; }
|
|
126480
126539
|
v = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
|
|
126481
126540
|
if (!httpguts.ValidHeaderFieldValue(v)) {
|
|
126482
|
-
_tmp$16 = ptrType$
|
|
126541
|
+
_tmp$16 = ptrType$95.nil;
|
|
126483
126542
|
_tmp$17 = badRequestError("invalid header value");
|
|
126484
126543
|
w = _tmp$16;
|
|
126485
126544
|
err = _tmp$17;
|
|
@@ -126497,7 +126556,7 @@ $packages["net/http"] = (function() {
|
|
|
126497
126556
|
req.ctx = ctx;
|
|
126498
126557
|
req.RemoteAddr = c[0].remoteAddr;
|
|
126499
126558
|
req.TLS = c[0].tlsState;
|
|
126500
|
-
_tuple$4 = $assertType(req.Body, ptrType$
|
|
126559
|
+
_tuple$4 = $assertType(req.Body, ptrType$97, true);
|
|
126501
126560
|
body$1 = _tuple$4[0];
|
|
126502
126561
|
ok = _tuple$4[1];
|
|
126503
126562
|
if (ok) {
|
|
@@ -126509,7 +126568,7 @@ $packages["net/http"] = (function() {
|
|
|
126509
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; }
|
|
126510
126569
|
_r$8;
|
|
126511
126570
|
/* } */ case 14:
|
|
126512
|
-
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);
|
|
126513
126572
|
if (isH2Upgrade) {
|
|
126514
126573
|
w.closeAfterReply = true;
|
|
126515
126574
|
}
|
|
@@ -126561,7 +126620,7 @@ $packages["net/http"] = (function() {
|
|
|
126561
126620
|
pc = $makeSlice(sliceType$27, 16);
|
|
126562
126621
|
n = runtime.Callers(1, pc);
|
|
126563
126622
|
frames = runtime.CallersFrames($subslice(pc, 0, n));
|
|
126564
|
-
frame = new runtime.Frame.ptr(0, ptrType$
|
|
126623
|
+
frame = new runtime.Frame.ptr(0, ptrType$99.nil, "", "", 0, 0);
|
|
126565
126624
|
while (true) {
|
|
126566
126625
|
_tuple = frames.Next();
|
|
126567
126626
|
frame$1 = $clone(_tuple[0], runtime.Frame);
|
|
@@ -126766,7 +126825,7 @@ $packages["net/http"] = (function() {
|
|
|
126766
126825
|
if (new Header(header[0]).get("Connection") === "close" || !keepAlivesEnabled) {
|
|
126767
126826
|
w.closeAfterReply = true;
|
|
126768
126827
|
}
|
|
126769
|
-
_tuple$1 = $assertType(w.req.Body, ptrType$
|
|
126828
|
+
_tuple$1 = $assertType(w.req.Body, ptrType$100, true);
|
|
126770
126829
|
ecr = _tuple$1[0];
|
|
126771
126830
|
ok = _tuple$1[1];
|
|
126772
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()) {
|
|
@@ -126780,16 +126839,16 @@ $packages["net/http"] = (function() {
|
|
|
126780
126839
|
discard = _tmp;
|
|
126781
126840
|
tooBig = _tmp$1;
|
|
126782
126841
|
_ref$2 = w.req.Body;
|
|
126783
|
-
/* */ if ($assertType(_ref$2, ptrType$
|
|
126784
|
-
/* */ 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; }
|
|
126785
126844
|
/* */ $s = 8; continue;
|
|
126786
|
-
/* if ($assertType(_ref$2, ptrType$
|
|
126845
|
+
/* if ($assertType(_ref$2, ptrType$100, true)[1]) { */ case 6:
|
|
126787
126846
|
bdy = _ref$2.$val;
|
|
126788
126847
|
if (bdy.resp.wroteContinue) {
|
|
126789
126848
|
discard = true;
|
|
126790
126849
|
}
|
|
126791
126850
|
$s = 9; continue;
|
|
126792
|
-
/* } else if ($assertType(_ref$2, ptrType$
|
|
126851
|
+
/* } else if ($assertType(_ref$2, ptrType$97, true)[1]) { */ case 7:
|
|
126793
126852
|
bdy$1 = _ref$2.$val;
|
|
126794
126853
|
$r = bdy$1.mu.Lock(); /* */ $s = 10; case 10: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
126795
126854
|
if (bdy$1.closed) {
|
|
@@ -127178,7 +127237,7 @@ $packages["net/http"] = (function() {
|
|
|
127178
127237
|
var _r$2, _tuple, _v, body$1, ok, w, $s, $r;
|
|
127179
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:
|
|
127180
127239
|
w = this;
|
|
127181
|
-
_tuple = $assertType(w.req.Body, ptrType$
|
|
127240
|
+
_tuple = $assertType(w.req.Body, ptrType$97, true);
|
|
127182
127241
|
body$1 = _tuple[0];
|
|
127183
127242
|
ok = _tuple[1];
|
|
127184
127243
|
if (!(ok)) { _v = false; $s = 1; continue s; }
|
|
@@ -127208,9 +127267,9 @@ $packages["net/http"] = (function() {
|
|
|
127208
127267
|
var _r$2, c, $s, $r;
|
|
127209
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:
|
|
127210
127269
|
c = this;
|
|
127211
|
-
if (!(c.bufr === ptrType$
|
|
127270
|
+
if (!(c.bufr === ptrType$77.nil)) {
|
|
127212
127271
|
putBufioReader(c.bufr);
|
|
127213
|
-
c.bufr = ptrType$
|
|
127272
|
+
c.bufr = ptrType$77.nil;
|
|
127214
127273
|
}
|
|
127215
127274
|
/* */ if (!(c.bufw === ptrType$9.nil)) { $s = 1; continue; }
|
|
127216
127275
|
/* */ $s = 2; continue;
|
|
@@ -127282,7 +127341,7 @@ $packages["net/http"] = (function() {
|
|
|
127282
127341
|
$panic(new $String("internal error"));
|
|
127283
127342
|
}
|
|
127284
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));
|
|
127285
|
-
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);
|
|
127286
127345
|
if (!runHook) {
|
|
127287
127346
|
$s = -1; return;
|
|
127288
127347
|
}
|
|
@@ -127301,7 +127360,7 @@ $packages["net/http"] = (function() {
|
|
|
127301
127360
|
state = 0;
|
|
127302
127361
|
unixSec = new $Int64(0, 0);
|
|
127303
127362
|
c = this;
|
|
127304
|
-
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)))));
|
|
127305
127364
|
_tmp = ((new $Uint64(packedState.$high & 0, (packedState.$low & 255) >>> 0).$low >> 0));
|
|
127306
127365
|
_tmp$1 = ((x$5 = $shiftRightUint64(packedState, 8), new $Int64(x$5.$high, x$5.$low)));
|
|
127307
127366
|
state = _tmp;
|
|
@@ -127380,7 +127439,7 @@ $packages["net/http"] = (function() {
|
|
|
127380
127439
|
$s = -1; return;
|
|
127381
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;
|
|
127382
127441
|
}; })(c), []]);
|
|
127383
|
-
_tuple = $assertType(c[0].rwc, ptrType$
|
|
127442
|
+
_tuple = $assertType(c[0].rwc, ptrType$76, true);
|
|
127384
127443
|
tlsConn = _tuple[0];
|
|
127385
127444
|
ok = _tuple[1];
|
|
127386
127445
|
/* */ if (ok) { $s = 5; continue; }
|
|
@@ -127447,7 +127506,7 @@ $packages["net/http"] = (function() {
|
|
|
127447
127506
|
cancelCtx = _tuple$2[1];
|
|
127448
127507
|
c[0].cancelCtx = cancelCtx;
|
|
127449
127508
|
$deferred.push([cancelCtx, []]);
|
|
127450
|
-
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));
|
|
127451
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; }
|
|
127452
127511
|
c[0].bufr = _r$14;
|
|
127453
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; }
|
|
@@ -127548,7 +127607,7 @@ $packages["net/http"] = (function() {
|
|
|
127548
127607
|
$s = -1; return;
|
|
127549
127608
|
/* } */ case 71:
|
|
127550
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; }
|
|
127551
|
-
c[0].curReq.Store((ptrType$
|
|
127610
|
+
c[0].curReq.Store((ptrType$95.nil));
|
|
127552
127611
|
if (!w.conn.server.doKeepAlives()) {
|
|
127553
127612
|
$s = -1; return;
|
|
127554
127613
|
}
|
|
@@ -127587,7 +127646,7 @@ $packages["net/http"] = (function() {
|
|
|
127587
127646
|
var _r$2, _tmp, _tmp$1, _tmp$2, _tuple, buf, c, err, rwc, w, $s, $deferred, $r;
|
|
127588
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);
|
|
127589
127648
|
rwc = $ifaceNil;
|
|
127590
|
-
buf = ptrType$
|
|
127649
|
+
buf = ptrType$92.nil;
|
|
127591
127650
|
err = $ifaceNil;
|
|
127592
127651
|
w = this;
|
|
127593
127652
|
if ((w.$ptr_handlerDone || (w.$ptr_handlerDone = new ptrType$24(function() { return this.$target.handlerDone; }, function($v) { this.$target.handlerDone = $v; }, w))).isSet()) {
|
|
@@ -127633,14 +127692,14 @@ $packages["net/http"] = (function() {
|
|
|
127633
127692
|
var _r$2, _ref, fn, rc, v, v$1, v$2, $s, $r;
|
|
127634
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:
|
|
127635
127694
|
_ref = rc;
|
|
127636
|
-
/* */ if ($assertType(_ref, ptrType$
|
|
127637
|
-
/* */ 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; }
|
|
127638
127697
|
/* */ $s = 3; continue;
|
|
127639
|
-
/* if ($assertType(_ref, ptrType$
|
|
127698
|
+
/* if ($assertType(_ref, ptrType$100, true)[1]) { */ case 1:
|
|
127640
127699
|
v = _ref.$val;
|
|
127641
127700
|
$r = registerOnHitEOF(v.readCloser, fn); /* */ $s = 5; case 5: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
127642
127701
|
$s = 4; continue;
|
|
127643
|
-
/* } else if ($assertType(_ref, ptrType$
|
|
127702
|
+
/* } else if ($assertType(_ref, ptrType$97, true)[1]) { */ case 2:
|
|
127644
127703
|
v$1 = _ref.$val;
|
|
127645
127704
|
$r = v$1.registerOnHitEOF(fn); /* */ $s = 6; case 6: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
127646
127705
|
$s = 4; continue;
|
|
@@ -127659,14 +127718,14 @@ $packages["net/http"] = (function() {
|
|
|
127659
127718
|
$s = -1; return false;
|
|
127660
127719
|
}
|
|
127661
127720
|
_ref = rc;
|
|
127662
|
-
/* */ if ($assertType(_ref, ptrType$
|
|
127663
|
-
/* */ 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; }
|
|
127664
127723
|
/* */ $s = 3; continue;
|
|
127665
|
-
/* if ($assertType(_ref, ptrType$
|
|
127724
|
+
/* if ($assertType(_ref, ptrType$100, true)[1]) { */ case 1:
|
|
127666
127725
|
v = _ref.$val;
|
|
127667
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; }
|
|
127668
127727
|
$s = -1; return _r$2;
|
|
127669
|
-
/* } else if ($assertType(_ref, ptrType$
|
|
127728
|
+
/* } else if ($assertType(_ref, ptrType$97, true)[1]) { */ case 2:
|
|
127670
127729
|
v$1 = _ref.$val;
|
|
127671
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; }
|
|
127672
127731
|
$s = -1; return _r$3;
|
|
@@ -128148,7 +128207,7 @@ $packages["net/http"] = (function() {
|
|
|
128148
128207
|
c = _entry.k;
|
|
128149
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; }
|
|
128150
128209
|
_r$3;
|
|
128151
|
-
delete srv.activeConn[ptrType$
|
|
128210
|
+
delete srv.activeConn[ptrType$98.keyFor(c)];
|
|
128152
128211
|
_i++;
|
|
128153
128212
|
/* } */ $s = 3; continue; case 4:
|
|
128154
128213
|
$s = -1; return err;
|
|
@@ -128274,7 +128333,7 @@ $packages["net/http"] = (function() {
|
|
|
128274
128333
|
/* } */ case 5:
|
|
128275
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; }
|
|
128276
128335
|
_r$2;
|
|
128277
|
-
delete s.activeConn[ptrType$
|
|
128336
|
+
delete s.activeConn[ptrType$98.keyFor(c)];
|
|
128278
128337
|
_i++;
|
|
128279
128338
|
/* } */ $s = 2; continue; case 3:
|
|
128280
128339
|
$s = -1; return quiescent;
|
|
@@ -128528,9 +128587,9 @@ $packages["net/http"] = (function() {
|
|
|
128528
128587
|
s.activeConn = {};
|
|
128529
128588
|
}
|
|
128530
128589
|
if (add) {
|
|
128531
|
-
_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() };
|
|
128532
128591
|
} else {
|
|
128533
|
-
delete s.activeConn[ptrType$
|
|
128592
|
+
delete s.activeConn[ptrType$98.keyFor(c)];
|
|
128534
128593
|
}
|
|
128535
128594
|
$s = -1; return;
|
|
128536
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; } }
|
|
@@ -128557,7 +128616,7 @@ $packages["net/http"] = (function() {
|
|
|
128557
128616
|
Server.ptr.prototype.doKeepAlives = function() {
|
|
128558
128617
|
var s;
|
|
128559
128618
|
s = this;
|
|
128560
|
-
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();
|
|
128561
128620
|
};
|
|
128562
128621
|
Server.prototype.doKeepAlives = function() { return this.$val.doKeepAlives(); };
|
|
128563
128622
|
Server.ptr.prototype.shuttingDown = function() {
|
|
@@ -128571,10 +128630,10 @@ $packages["net/http"] = (function() {
|
|
|
128571
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:
|
|
128572
128631
|
srv = this;
|
|
128573
128632
|
if (v) {
|
|
128574
|
-
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);
|
|
128575
128634
|
$s = -1; return;
|
|
128576
128635
|
}
|
|
128577
|
-
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);
|
|
128578
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; }
|
|
128579
128638
|
_r$2;
|
|
128580
128639
|
$s = -1; return;
|
|
@@ -128669,7 +128728,7 @@ $packages["net/http"] = (function() {
|
|
|
128669
128728
|
/* */ $s = 7; continue;
|
|
128670
128729
|
/* if (srv.TLSNextProto === false) { */ case 6:
|
|
128671
128730
|
conf = new http2Server.ptr(0, 0, 0, false, new time.Duration(0, 0), 0, 0, (function() {
|
|
128672
|
-
return http2NewPriorityWriteScheduler(ptrType$
|
|
128731
|
+
return http2NewPriorityWriteScheduler(ptrType$82.nil);
|
|
128673
128732
|
}), ptrType$50.nil);
|
|
128674
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; }
|
|
128675
128734
|
srv.nextProtoErr = _r$4;
|
|
@@ -129626,9 +129685,9 @@ $packages["net/http"] = (function() {
|
|
|
129626
129685
|
} else if ((realLength.$high === 0 && realLength.$low === 0)) {
|
|
129627
129686
|
t.Body = new $pkg.NoBody.constructor.elem($pkg.NoBody);
|
|
129628
129687
|
} else if ((realLength.$high > 0 || (realLength.$high === 0 && realLength.$low > 0))) {
|
|
129629
|
-
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);
|
|
129630
129689
|
} else if (t.Close) {
|
|
129631
|
-
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);
|
|
129632
129691
|
} else {
|
|
129633
129692
|
t.Body = new $pkg.NoBody.constructor.elem($pkg.NoBody);
|
|
129634
129693
|
}
|
|
@@ -130001,10 +130060,10 @@ $packages["net/http"] = (function() {
|
|
|
130001
130060
|
_ref = b.hdr;
|
|
130002
130061
|
if ($assertType(_ref, ptrType$6, true)[1]) {
|
|
130003
130062
|
rr = _ref.$val;
|
|
130004
|
-
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));
|
|
130005
130064
|
} else if ($assertType(_ref, ptrType$18, true)[1]) {
|
|
130006
130065
|
rr$1 = _ref.$val;
|
|
130007
|
-
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));
|
|
130008
130067
|
}
|
|
130009
130068
|
$s = -1; return $ifaceNil;
|
|
130010
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;
|
|
@@ -130193,7 +130252,7 @@ $packages["net/http"] = (function() {
|
|
|
130193
130252
|
var _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _ref, _tuple, ok, r, r$1, $s, $r;
|
|
130194
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:
|
|
130195
130254
|
_ref = r;
|
|
130196
|
-
if ($assertType(_ref, ptrType$
|
|
130255
|
+
if ($assertType(_ref, ptrType$88, true)[1] || $assertType(_ref, ptrType$38, true)[1] || $assertType(_ref, ptrType$89, true)[1]) {
|
|
130197
130256
|
$s = -1; return true;
|
|
130198
130257
|
}
|
|
130199
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; }
|
|
@@ -130311,7 +130370,7 @@ $packages["net/http"] = (function() {
|
|
|
130311
130370
|
ptrType$69.methods = [{prop: "Init", name: "Init", pkg: "", typ: $funcType([], [], false)}];
|
|
130312
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)}];
|
|
130313
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)}];
|
|
130314
|
-
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)}];
|
|
130315
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)}];
|
|
130316
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)}];
|
|
130317
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)}];
|
|
@@ -130334,33 +130393,33 @@ $packages["net/http"] = (function() {
|
|
|
130334
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)}];
|
|
130335
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)}];
|
|
130336
130395
|
ptrType$124.methods = [{prop: "replyToWriter", name: "replyToWriter", pkg: "net/http", typ: $funcType([$error], [], false)}];
|
|
130337
|
-
ptrType$
|
|
130338
|
-
ptrType$
|
|
130339
|
-
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)}];
|
|
130340
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)}];
|
|
130341
|
-
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)}];
|
|
130342
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)}];
|
|
130343
|
-
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)}];
|
|
130344
130403
|
stringWriter.methods = [{prop: "WriteString", name: "WriteString", pkg: "", typ: $funcType([$String], [$Int, $error], false)}];
|
|
130345
|
-
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)}];
|
|
130346
130405
|
ptrType$127.methods = [{prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130347
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)}];
|
|
130348
130407
|
ptrType$128.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130349
|
-
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$
|
|
130350
|
-
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)}];
|
|
130351
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)}];
|
|
130352
|
-
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)}];
|
|
130353
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)}];
|
|
130354
|
-
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)}];
|
|
130355
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)}];
|
|
130356
|
-
ptrType$
|
|
130357
|
-
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)}];
|
|
130358
130417
|
extraHeader.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([ptrType$9], [], false)}];
|
|
130359
130418
|
statusError.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130360
130419
|
HandlerFunc.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
|
|
130361
130420
|
ptrType$132.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
|
|
130362
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)}];
|
|
130363
|
-
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)}];
|
|
130364
130423
|
ConnState.methods = [{prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130365
130424
|
serverHandler.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
|
|
130366
130425
|
ptrType$135.methods = [{prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}, {prop: "close", name: "close", pkg: "net/http", typ: $funcType([], [], false)}];
|
|
@@ -130378,7 +130437,7 @@ $packages["net/http"] = (function() {
|
|
|
130378
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)}];
|
|
130379
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)}];
|
|
130380
130439
|
ptrType$107.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
|
|
130381
|
-
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)}];
|
|
130382
130441
|
bodyLocked.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
|
|
130383
130442
|
finishAsyncByteRead.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
|
|
130384
130443
|
bufioFlushWriter.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
|
|
@@ -130448,10 +130507,10 @@ $packages["net/http"] = (function() {
|
|
|
130448
130507
|
http2OpenStreamOptions.init("", [{prop: "PusherID", name: "PusherID", embedded: false, exported: true, typ: $Uint32, tag: ""}]);
|
|
130449
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: ""}]);
|
|
130450
130509
|
http2writeQueue.init("net/http", [{prop: "s", name: "s", embedded: false, exported: false, typ: sliceType$24, tag: ""}]);
|
|
130451
|
-
http2writeQueuePool.init(ptrType$
|
|
130510
|
+
http2writeQueuePool.init(ptrType$81);
|
|
130452
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: ""}]);
|
|
130453
|
-
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$
|
|
130454
|
-
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);
|
|
130455
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: ""}]);
|
|
130456
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: ""}]);
|
|
130457
130516
|
Header.init($String, sliceType$2);
|
|
@@ -130469,13 +130528,13 @@ $packages["net/http"] = (function() {
|
|
|
130469
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: ""}]);
|
|
130470
130529
|
Handler.init([{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}]);
|
|
130471
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)}]);
|
|
130472
|
-
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$
|
|
130473
|
-
chunkWriter.init("net/http", [{prop: "res", name: "res", embedded: false, exported: false, typ: ptrType$
|
|
130474
|
-
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: ""}]);
|
|
130475
130534
|
writerOnly.init("", [{prop: "Writer", name: "Writer", embedded: true, exported: true, typ: io.Writer, tag: ""}]);
|
|
130476
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: ""}]);
|
|
130477
|
-
connReader.init("net/http", [{prop: "conn", name: "conn", embedded: false, exported: false, typ: ptrType$
|
|
130478
|
-
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: ""}]);
|
|
130479
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: ""}]);
|
|
130480
130539
|
closeWriter.init([{prop: "CloseWrite", name: "CloseWrite", pkg: "", typ: $funcType([], [$error], false)}]);
|
|
130481
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: ""}]);
|
|
@@ -130487,9 +130546,9 @@ $packages["net/http"] = (function() {
|
|
|
130487
130546
|
serverHandler.init("net/http", [{prop: "srv", name: "srv", embedded: false, exported: false, typ: ptrType$51, tag: ""}]);
|
|
130488
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: ""}]);
|
|
130489
130548
|
globalOptionsHandler.init("", []);
|
|
130490
|
-
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: ""}]);
|
|
130491
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: ""}]);
|
|
130492
|
-
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: ""}]);
|
|
130493
130552
|
sniffSig.init([{prop: "match", name: "match", pkg: "net/http", typ: $funcType([sliceType$4, $Int], [$String], false)}]);
|
|
130494
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: ""}]);
|
|
130495
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: ""}]);
|
|
@@ -130498,11 +130557,11 @@ $packages["net/http"] = (function() {
|
|
|
130498
130557
|
textSig.init("", []);
|
|
130499
130558
|
errorReader.init("net/http", [{prop: "err", name: "err", embedded: false, exported: false, typ: $error, tag: ""}]);
|
|
130500
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: ""}]);
|
|
130501
|
-
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: ""}]);
|
|
130502
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: ""}]);
|
|
130503
130562
|
unsupportedTEError.init("net/http", [{prop: "err", name: "err", embedded: false, exported: false, typ: $String, tag: ""}]);
|
|
130504
|
-
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$
|
|
130505
|
-
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: ""}]);
|
|
130506
130565
|
finishAsyncByteRead.init("net/http", [{prop: "tw", name: "tw", embedded: false, exported: false, typ: ptrType$105, tag: ""}]);
|
|
130507
130566
|
bufioFlushWriter.init("net/http", [{prop: "w", name: "w", embedded: false, exported: false, typ: io.Writer, tag: ""}]);
|
|
130508
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: ""}]);
|
|
@@ -130593,6 +130652,7 @@ $packages["net/http"] = (function() {
|
|
|
130593
130652
|
}))]);
|
|
130594
130653
|
http2errReadEmpty = errors.New("read from empty dataBuffer");
|
|
130595
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");
|
|
130596
130656
|
http2errMixPseudoHeaderTypes = errors.New("mix of request and response pseudo headers");
|
|
130597
130657
|
http2errPseudoAfterRegular = errors.New("pseudo header field after regular");
|
|
130598
130658
|
http2padZeros = $makeSlice(sliceType$4, 255);
|
|
@@ -130660,6 +130720,7 @@ $packages["net/http"] = (function() {
|
|
|
130660
130720
|
http2errStopReqBodyWrite = errors.New("http2: aborting request body write");
|
|
130661
130721
|
http2errStopReqBodyWriteAndCancel = errors.New("http2: canceling request");
|
|
130662
130722
|
http2errReqBodyTooLong = errors.New("http2: request body larger than specified content length");
|
|
130723
|
+
http2errNilRequestURL = errors.New("http2: Request.URI is nil");
|
|
130663
130724
|
http2errClosedResponseBody = errors.New("http2: response body closed");
|
|
130664
130725
|
http2errResponseHeaderListSize = errors.New("http2: response header list larger than advertised limit");
|
|
130665
130726
|
http2errRequestHeaderListSize = errors.New("http2: request header list larger than peer's advertised limit");
|
|
@@ -136109,24 +136170,24 @@ $packages["github.com/nuberu/webgl"] = (function() {
|
|
|
136109
136170
|
/* */ if ($assertType(_ref, sliceType$9, true)[1]) { $s = 10; continue; }
|
|
136110
136171
|
/* */ $s = 11; continue;
|
|
136111
136172
|
/* if ($assertType(_ref, sliceType, true)[1]) { */ case 1:
|
|
136112
|
-
s$
|
|
136113
|
-
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));
|
|
136114
136175
|
$s = -1; return ((h)).$get();
|
|
136115
136176
|
/* } else if ($assertType(_ref, sliceType$1, true)[1]) { */ case 2:
|
|
136116
|
-
s$
|
|
136117
|
-
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));
|
|
136118
136179
|
h$1.Len = $imul(h$1.Len, (2));
|
|
136119
136180
|
h$1.Cap = $imul(h$1.Cap, (2));
|
|
136120
136181
|
$s = -1; return ((h$1)).$get();
|
|
136121
136182
|
/* } else if ($assertType(_ref, sliceType$2, true)[1]) { */ case 3:
|
|
136122
|
-
s$
|
|
136123
|
-
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));
|
|
136124
136185
|
h$2.Len = $imul(h$2.Len, (4));
|
|
136125
136186
|
h$2.Cap = $imul(h$2.Cap, (4));
|
|
136126
136187
|
$s = -1; return ((h$2)).$get();
|
|
136127
136188
|
/* } else if ($assertType(_ref, sliceType$3, true)[1]) { */ case 4:
|
|
136128
|
-
s$
|
|
136129
|
-
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));
|
|
136130
136191
|
h$3.Len = $imul(h$3.Len, (8));
|
|
136131
136192
|
h$3.Cap = $imul(h$3.Cap, (8));
|
|
136132
136193
|
$s = -1; return ((h$3)).$get();
|
|
@@ -136134,32 +136195,32 @@ $packages["github.com/nuberu/webgl"] = (function() {
|
|
|
136134
136195
|
s$10 = _ref.$val;
|
|
136135
136196
|
$s = -1; return s$10;
|
|
136136
136197
|
/* } else if ($assertType(_ref, sliceType$5, true)[1]) { */ case 6:
|
|
136137
|
-
s$
|
|
136138
|
-
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));
|
|
136139
136200
|
h$4.Len = $imul(h$4.Len, (2));
|
|
136140
136201
|
h$4.Cap = $imul(h$4.Cap, (2));
|
|
136141
136202
|
$s = -1; return ((h$4)).$get();
|
|
136142
136203
|
/* } else if ($assertType(_ref, sliceType$6, true)[1]) { */ case 7:
|
|
136143
|
-
s$
|
|
136144
|
-
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));
|
|
136145
136206
|
h$5.Len = $imul(h$5.Len, (4));
|
|
136146
136207
|
h$5.Cap = $imul(h$5.Cap, (4));
|
|
136147
136208
|
$s = -1; return ((h$5)).$get();
|
|
136148
136209
|
/* } else if ($assertType(_ref, sliceType$7, true)[1]) { */ case 8:
|
|
136149
|
-
s$
|
|
136150
|
-
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));
|
|
136151
136212
|
h$6.Len = $imul(h$6.Len, (8));
|
|
136152
136213
|
h$6.Cap = $imul(h$6.Cap, (8));
|
|
136153
136214
|
$s = -1; return ((h$6)).$get();
|
|
136154
136215
|
/* } else if ($assertType(_ref, sliceType$8, true)[1]) { */ case 9:
|
|
136155
|
-
s$
|
|
136156
|
-
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));
|
|
136157
136218
|
h$7.Len = $imul(h$7.Len, (4));
|
|
136158
136219
|
h$7.Cap = $imul(h$7.Cap, (4));
|
|
136159
136220
|
$s = -1; return ((h$7)).$get();
|
|
136160
136221
|
/* } else if ($assertType(_ref, sliceType$9, true)[1]) { */ case 10:
|
|
136161
|
-
s$
|
|
136162
|
-
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));
|
|
136163
136224
|
h$8.Len = $imul(h$8.Len, (8));
|
|
136164
136225
|
h$8.Cap = $imul(h$8.Cap, (8));
|
|
136165
136226
|
$s = -1; return ((h$8)).$get();
|
|
@@ -141096,14 +141157,14 @@ $packages["image/draw"] = (function() {
|
|
|
141096
141157
|
/* */ if ($assertType(_ref$1, ptrType$5, true)[1]) { $s = 8; continue; }
|
|
141097
141158
|
/* */ $s = 9; continue;
|
|
141098
141159
|
/* if ($assertType(_ref$1, ptrType$1, true)[1]) { */ case 6:
|
|
141099
|
-
src0[0] = _ref$1.$val;
|
|
141160
|
+
src0$1[0] = _ref$1.$val;
|
|
141100
141161
|
pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
|
|
141101
141162
|
var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
|
|
141102
141163
|
r$2 = 0;
|
|
141103
141164
|
g$1 = 0;
|
|
141104
141165
|
b$1 = 0;
|
|
141105
141166
|
a$1 = 0;
|
|
141106
|
-
_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();
|
|
141107
141168
|
r$2 = _tuple$2[0];
|
|
141108
141169
|
g$1 = _tuple$2[1];
|
|
141109
141170
|
b$1 = _tuple$2[2];
|
|
@@ -141112,14 +141173,14 @@ $packages["image/draw"] = (function() {
|
|
|
141112
141173
|
}; })(out, src, src0, src0$1, src0$2);
|
|
141113
141174
|
$s = 9; continue;
|
|
141114
141175
|
/* } else if ($assertType(_ref$1, ptrType$4, true)[1]) { */ case 7:
|
|
141115
|
-
src0$
|
|
141176
|
+
src0$2[0] = _ref$1.$val;
|
|
141116
141177
|
pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
|
|
141117
141178
|
var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
|
|
141118
141179
|
r$2 = 0;
|
|
141119
141180
|
g$1 = 0;
|
|
141120
141181
|
b$1 = 0;
|
|
141121
141182
|
a$1 = 0;
|
|
141122
|
-
_tuple$2 = $clone(src0$
|
|
141183
|
+
_tuple$2 = $clone(src0$2[0].NRGBAAt(x$1, y), color.NRGBA).RGBA();
|
|
141123
141184
|
r$2 = _tuple$2[0];
|
|
141124
141185
|
g$1 = _tuple$2[1];
|
|
141125
141186
|
b$1 = _tuple$2[2];
|
|
@@ -141128,14 +141189,14 @@ $packages["image/draw"] = (function() {
|
|
|
141128
141189
|
}; })(out, src, src0, src0$1, src0$2);
|
|
141129
141190
|
$s = 9; continue;
|
|
141130
141191
|
/* } else if ($assertType(_ref$1, ptrType$5, true)[1]) { */ case 8:
|
|
141131
|
-
src0
|
|
141192
|
+
src0[0] = _ref$1.$val;
|
|
141132
141193
|
pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
|
|
141133
141194
|
var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
|
|
141134
141195
|
r$2 = 0;
|
|
141135
141196
|
g$1 = 0;
|
|
141136
141197
|
b$1 = 0;
|
|
141137
141198
|
a$1 = 0;
|
|
141138
|
-
_tuple$2 = $clone(src0
|
|
141199
|
+
_tuple$2 = $clone(src0[0].YCbCrAt(x$1, y), color.YCbCr).RGBA();
|
|
141139
141200
|
r$2 = _tuple$2[0];
|
|
141140
141201
|
g$1 = _tuple$2[1];
|
|
141141
141202
|
b$1 = _tuple$2[2];
|