@supraio/client-daemon-js 0.0.1-mz-plain-js.1 → 0.0.1-mz-warmup.3

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.
@@ -5025,7 +5025,7 @@ $packages["internal/reflectlite"] = (function() {
5025
5025
  return $pkg;
5026
5026
  })();
5027
5027
  $packages["errors"] = (function() {
5028
- var $pkg = {}, $init, reflectlite, errorString, ptrType, interfaceType, interfaceType$1, ptrType$1, errorType, _r, New, Unwrap, Is;
5028
+ var $pkg = {}, $init, reflectlite, errorString, ptrType, ptrType$1, errorType, _r, New;
5029
5029
  reflectlite = $packages["internal/reflectlite"];
5030
5030
  errorString = $pkg.errorString = $newType(0, $kindStruct, "errors.errorString", true, "errors", false, function(s_) {
5031
5031
  this.$val = this;
@@ -5036,8 +5036,6 @@ $packages["errors"] = (function() {
5036
5036
  this.s = s_;
5037
5037
  });
5038
5038
  ptrType = $ptrType($error);
5039
- interfaceType = $interfaceType([{prop: "Unwrap", name: "Unwrap", pkg: "", typ: $funcType([], [$error], false)}]);
5040
- interfaceType$1 = $interfaceType([{prop: "Is", name: "Is", pkg: "", typ: $funcType([$error], [$Bool], false)}]);
5041
5039
  ptrType$1 = $ptrType(errorString);
5042
5040
  New = function(text) {
5043
5041
  var text;
@@ -5050,53 +5048,6 @@ $packages["errors"] = (function() {
5050
5048
  return e.s;
5051
5049
  };
5052
5050
  errorString.prototype.Error = function() { return this.$val.Error(); };
5053
- Unwrap = function(err) {
5054
- var _r$1, _tuple, err, ok, u, $s, $r;
5055
- /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$1 = $f._r$1; _tuple = $f._tuple; err = $f.err; ok = $f.ok; u = $f.u; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
5056
- _tuple = $assertType(err, interfaceType, true);
5057
- u = _tuple[0];
5058
- ok = _tuple[1];
5059
- if (!ok) {
5060
- $s = -1; return $ifaceNil;
5061
- }
5062
- _r$1 = u.Unwrap(); /* */ $s = 1; case 1: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
5063
- $s = -1; return _r$1;
5064
- /* */ } return; } if ($f === undefined) { $f = { $blk: Unwrap }; } $f._r$1 = _r$1; $f._tuple = _tuple; $f.err = err; $f.ok = ok; $f.u = u; $f.$s = $s; $f.$r = $r; return $f;
5065
- };
5066
- $pkg.Unwrap = Unwrap;
5067
- Is = function(err, target) {
5068
- var _r$1, _r$2, _r$3, _tuple, _v, err, isComparable, ok, target, x, $s, $r;
5069
- /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r$1 = $f._r$1; _r$2 = $f._r$2; _r$3 = $f._r$3; _tuple = $f._tuple; _v = $f._v; err = $f.err; isComparable = $f.isComparable; ok = $f.ok; target = $f.target; x = $f.x; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
5070
- if ($interfaceIsEqual(target, $ifaceNil)) {
5071
- $s = -1; return $interfaceIsEqual(err, target);
5072
- }
5073
- _r$1 = reflectlite.TypeOf(target).Comparable(); /* */ $s = 1; case 1: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
5074
- isComparable = _r$1;
5075
- /* while (true) { */ case 2:
5076
- if (isComparable && $interfaceIsEqual(err, target)) {
5077
- $s = -1; return true;
5078
- }
5079
- _tuple = $assertType(err, interfaceType$1, true);
5080
- x = _tuple[0];
5081
- ok = _tuple[1];
5082
- if (!(ok)) { _v = false; $s = 6; continue s; }
5083
- _r$2 = x.Is(target); /* */ $s = 7; case 7: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
5084
- _v = _r$2; case 6:
5085
- /* */ if (_v) { $s = 4; continue; }
5086
- /* */ $s = 5; continue;
5087
- /* if (_v) { */ case 4:
5088
- $s = -1; return true;
5089
- /* } */ case 5:
5090
- _r$3 = Unwrap(err); /* */ $s = 8; case 8: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
5091
- err = _r$3;
5092
- if ($interfaceIsEqual(err, $ifaceNil)) {
5093
- $s = -1; return false;
5094
- }
5095
- /* } */ $s = 2; continue; case 3:
5096
- $s = -1; return false;
5097
- /* */ } return; } if ($f === undefined) { $f = { $blk: Is }; } $f._r$1 = _r$1; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._tuple = _tuple; $f._v = _v; $f.err = err; $f.isComparable = isComparable; $f.ok = ok; $f.target = target; $f.x = x; $f.$s = $s; $f.$r = $r; return $f;
5098
- };
5099
- $pkg.Is = Is;
5100
5051
  ptrType$1.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
5101
5052
  errorString.init("errors", [{prop: "s", name: "s", embedded: false, exported: false, typ: $String, tag: ""}]);
5102
5053
  $init = function() {
@@ -59145,7 +59096,7 @@ $packages["vendor/golang.org/x/net/dns/dnsmessage"] = (function() {
59145
59096
  return $pkg;
59146
59097
  })();
59147
59098
  $packages["net"] = (function() {
59148
- var $pkg = {}, $init, context, errors, bytealg, nettrace, poll, singleflight, io, os, runtime, sort, sync, syscall, time, dnsmessage, ListenConfig, sysListener, SRV, MX, NS, Interface, Flags, ipv6ZoneCache, IP, IPMask, IPNet, IPAddr, IPConn, ipStackCapabilities, addrList, Resolver, onlyValuesCtx, HardwareAddr, Addr, Conn, conn, PacketConn, Listener, Error, OpError, timeout, temporary, ParseError, AddrError, UnknownNetworkError, timeoutError, DNSError, writerOnly, netFD, bufferedPipe, file, rawConn, rawListener, sockaddr, TCPAddr, TCPConn, TCPListener, UDPAddr, UDPConn, UnixAddr, UnixConn, UnixListener, ptrType, sliceType, arrayType, sliceType$1, ptrType$1, sliceType$2, ptrType$3, ptrType$4, ptrType$5, ptrType$6, ptrType$7, ptrType$8, ptrType$9, ptrType$10, ptrType$11, sliceType$3, sliceType$4, arrayType$1, ptrType$12, ptrType$13, ptrType$14, ptrType$15, structType$3, sliceType$5, ptrType$16, arrayType$2, arrayType$3, sliceType$6, funcType, sliceType$7, ptrType$17, sliceType$8, ptrType$18, sliceType$9, ptrType$19, sliceType$10, ptrType$20, ptrType$21, ptrType$22, ptrType$23, ptrType$24, ptrType$25, ptrType$26, ptrType$27, sliceType$11, ptrType$28, arrayType$4, ptrType$30, ptrType$31, ptrType$32, ptrType$33, ptrType$34, ptrType$35, funcType$1, ptrType$38, ptrType$39, ptrType$40, mapType$1, mapType$2, ptrType$41, ptrType$42, funcType$2, ptrType$43, funcType$3, ptrType$44, ptrType$45, chanType$1, funcType$4, funcType$5, ptrType$49, testHookLookupIP, errInvalidInterface, errInvalidInterfaceIndex, errInvalidInterfaceName, errNoSuchInterface, errNoSuchMulticastInterface, flagNames, zoneCache, v4InV6Prefix, classAMask, classBMask, classCMask, ipStackCaps, protocols, services, dnsWaitGroup, netGo, errNoSuitableAddress, errMissingAddress, errCanceled, aLongTimeAgo, errTimeout, errNoSuchHost, errClosed, listenersMu, listeners, portCounterMu, portCounter, onceReadServices, init, parseNetwork, Listen, isConnError, interfaceTable, interfaceAddrTable, interfaceMulticastAddrTable, IPv4, IPv4Mask, isZeros, allFF, ubtoa, hexString, ipEmptyString, simpleMaskLength, networkNumberAndMask, parseIPv4, parseIPv6Zone, parseIPv6, ParseIP, parseIPZone, newIPConn, stripIPv4Header, supportsIPv4, supportsIPv4map, isIPv4, filterAddrList, ipv4only, ipv6only, SplitHostPort, splitHostZone, JoinHostPort, loopbackIP, favoriteAddrFamily, internetSocket, ipToSockaddr, lookupProtocolMap, lookupPortMap, withUnexpiredValuesPreserved, lookupIPReturn, ipAddrsEface, lookupProtocol, mapErr, genericReadFrom, nextPort, socket, newBufferedPipe, sysSocket, open, countAnyByte, splitAtBytes, getFields, dtoi, xtoi, itoa, uitoa, appendHex, last, lowerASCIIBytes, parsePort, readServices, goLookupPort, newRawConn, newRawListener, sendFile, setReadBuffer, setWriteBuffer, setKeepAlive, setLinger, splice, newTCPConn, setNoDelay, setKeepAlivePeriod, newUDPConn, ResolveUnixAddr, newUnixConn, unixSocket, sotypeToNet;
59099
+ var $pkg = {}, $init, context, errors, bytealg, nettrace, poll, singleflight, io, os, runtime, sort, sync, syscall, time, dnsmessage, ListenConfig, sysListener, SRV, MX, NS, Interface, Flags, ipv6ZoneCache, IP, IPMask, IPNet, IPAddr, IPConn, ipStackCapabilities, addrList, Resolver, onlyValuesCtx, HardwareAddr, Addr, Conn, conn, PacketConn, Listener, Error, OpError, timeout, temporary, ParseError, AddrError, UnknownNetworkError, timeoutError, DNSError, writerOnly, netFD, bufferedPipe, file, rawConn, rawListener, sockaddr, TCPAddr, TCPConn, TCPListener, UDPAddr, UDPConn, UnixAddr, UnixConn, UnixListener, ptrType, sliceType, arrayType, sliceType$1, ptrType$1, sliceType$2, ptrType$3, ptrType$4, ptrType$5, ptrType$6, ptrType$7, ptrType$8, ptrType$9, ptrType$10, ptrType$11, sliceType$3, sliceType$4, arrayType$1, ptrType$12, ptrType$13, ptrType$14, ptrType$15, structType$3, sliceType$5, ptrType$16, arrayType$2, arrayType$3, sliceType$6, funcType, sliceType$7, ptrType$17, sliceType$8, ptrType$18, sliceType$9, ptrType$19, sliceType$10, ptrType$20, ptrType$21, ptrType$22, ptrType$23, ptrType$24, ptrType$25, ptrType$26, ptrType$27, sliceType$11, ptrType$28, arrayType$4, ptrType$30, ptrType$31, ptrType$32, ptrType$33, ptrType$34, ptrType$35, funcType$1, ptrType$38, ptrType$39, ptrType$40, mapType$1, mapType$2, ptrType$41, ptrType$42, funcType$2, ptrType$43, funcType$3, ptrType$44, ptrType$45, chanType$1, funcType$4, funcType$5, ptrType$49, testHookLookupIP, errInvalidInterface, errInvalidInterfaceIndex, errInvalidInterfaceName, errNoSuchInterface, errNoSuchMulticastInterface, flagNames, zoneCache, v4InV6Prefix, classAMask, classBMask, classCMask, ipStackCaps, protocols, services, dnsWaitGroup, errMalformedDNSRecordsDetail, netGo, errNoSuitableAddress, errMissingAddress, errCanceled, aLongTimeAgo, errTimeout, errNoSuchHost, errClosed, listenersMu, listeners, portCounterMu, portCounter, onceReadServices, init, parseNetwork, Listen, isDomainName, isConnError, interfaceTable, interfaceAddrTable, interfaceMulticastAddrTable, IPv4, IPv4Mask, isZeros, allFF, ubtoa, hexString, ipEmptyString, simpleMaskLength, networkNumberAndMask, parseIPv4, parseIPv6Zone, parseIPv6, ParseIP, parseIPZone, newIPConn, stripIPv4Header, supportsIPv4, supportsIPv4map, isIPv4, filterAddrList, ipv4only, ipv6only, SplitHostPort, splitHostZone, JoinHostPort, loopbackIP, favoriteAddrFamily, internetSocket, ipToSockaddr, lookupProtocolMap, lookupPortMap, withUnexpiredValuesPreserved, lookupIPReturn, ipAddrsEface, lookupProtocol, mapErr, genericReadFrom, nextPort, socket, newBufferedPipe, sysSocket, open, countAnyByte, splitAtBytes, getFields, dtoi, xtoi, itoa, uitoa, appendHex, last, lowerASCIIBytes, parsePort, readServices, goLookupPort, newRawConn, newRawListener, sendFile, setReadBuffer, setWriteBuffer, setKeepAlive, setLinger, splice, newTCPConn, setNoDelay, setKeepAlivePeriod, newUDPConn, ResolveUnixAddr, newUnixConn, unixSocket, sotypeToNet;
59149
59100
  context = $packages["context"];
59150
59101
  errors = $packages["errors"];
59151
59102
  bytealg = $packages["internal/bytealg"];
@@ -59934,6 +59885,49 @@ $packages["net"] = (function() {
59934
59885
  /* */ } return; } if ($f === undefined) { $f = { $blk: Listen }; } $f._r = _r; $f.address = address; $f.lc = lc; $f.network = network; $f.$s = $s; $f.$r = $r; return $f;
59935
59886
  };
59936
59887
  $pkg.Listen = Listen;
59888
+ isDomainName = function(s) {
59889
+ var c, i, l, last$1, nonNumeric, partlen, s;
59890
+ l = s.length;
59891
+ if ((l === 0) || l > 254 || (l === 254) && !((s.charCodeAt((l - 1 >> 0)) === 46))) {
59892
+ return false;
59893
+ }
59894
+ last$1 = 46;
59895
+ nonNumeric = false;
59896
+ partlen = 0;
59897
+ i = 0;
59898
+ while (true) {
59899
+ if (!(i < s.length)) { break; }
59900
+ c = s.charCodeAt(i);
59901
+ if (97 <= c && c <= 122 || 65 <= c && c <= 90 || (c === 95)) {
59902
+ nonNumeric = true;
59903
+ partlen = partlen + (1) >> 0;
59904
+ } else if (48 <= c && c <= 57) {
59905
+ partlen = partlen + (1) >> 0;
59906
+ } else if ((c === 45)) {
59907
+ if (last$1 === 46) {
59908
+ return false;
59909
+ }
59910
+ partlen = partlen + (1) >> 0;
59911
+ nonNumeric = true;
59912
+ } else if ((c === 46)) {
59913
+ if ((last$1 === 46) || (last$1 === 45)) {
59914
+ return false;
59915
+ }
59916
+ if (partlen > 63 || (partlen === 0)) {
59917
+ return false;
59918
+ }
59919
+ partlen = 0;
59920
+ } else {
59921
+ return false;
59922
+ }
59923
+ last$1 = c;
59924
+ i = i + (1) >> 0;
59925
+ }
59926
+ if ((last$1 === 45) || partlen > 63) {
59927
+ return false;
59928
+ }
59929
+ return nonNumeric;
59930
+ };
59937
59931
  isConnError = function(err) {
59938
59932
  var _tuple, err, ok, se;
59939
59933
  _tuple = $assertType(err, syscall.Errno, true);
@@ -62027,38 +62021,117 @@ $packages["net"] = (function() {
62027
62021
  Resolver.prototype.LookupPort = function(ctx, network, service) { return this.$val.LookupPort(ctx, network, service); };
62028
62022
  Resolver.ptr.prototype.LookupCNAME = function(ctx, host) {
62029
62023
  var _tuple, cname, ctx, err, host, r;
62030
- cname = "";
62031
- err = $ifaceNil;
62032
62024
  r = this;
62033
62025
  _tuple = r.lookupCNAME(ctx, host);
62034
62026
  cname = _tuple[0];
62035
62027
  err = _tuple[1];
62036
- return [cname, err];
62028
+ if (!($interfaceIsEqual(err, $ifaceNil))) {
62029
+ return ["", err];
62030
+ }
62031
+ if (!isDomainName(cname)) {
62032
+ return ["", new DNSError.ptr(errMalformedDNSRecordsDetail, host, "", false, false, false)];
62033
+ }
62034
+ return [cname, $ifaceNil];
62037
62035
  };
62038
62036
  Resolver.prototype.LookupCNAME = function(ctx, host) { return this.$val.LookupCNAME(ctx, host); };
62039
62037
  Resolver.ptr.prototype.LookupSRV = function(ctx, service, proto, name) {
62040
- var _tuple, addrs, cname, ctx, err, name, proto, r, service;
62041
- cname = "";
62042
- addrs = sliceType$8.nil;
62043
- err = $ifaceNil;
62038
+ var _i, _ref, _tuple, addr, addrs, cname, ctx, err, filteredAddrs, name, proto, r, service;
62044
62039
  r = this;
62045
62040
  _tuple = r.lookupSRV(ctx, service, proto, name);
62046
62041
  cname = _tuple[0];
62047
62042
  addrs = _tuple[1];
62048
62043
  err = _tuple[2];
62049
- return [cname, addrs, err];
62044
+ if (!($interfaceIsEqual(err, $ifaceNil))) {
62045
+ return ["", sliceType$8.nil, err];
62046
+ }
62047
+ if (!(cname === "") && !isDomainName(cname)) {
62048
+ return ["", sliceType$8.nil, new DNSError.ptr("SRV header name is invalid", name, "", false, false, false)];
62049
+ }
62050
+ filteredAddrs = $makeSlice(sliceType$8, 0, addrs.$length);
62051
+ _ref = addrs;
62052
+ _i = 0;
62053
+ while (true) {
62054
+ if (!(_i < _ref.$length)) { break; }
62055
+ addr = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
62056
+ if (addr === ptrType$17.nil) {
62057
+ _i++;
62058
+ continue;
62059
+ }
62060
+ if (!isDomainName(addr.Target)) {
62061
+ _i++;
62062
+ continue;
62063
+ }
62064
+ filteredAddrs = $append(filteredAddrs, addr);
62065
+ _i++;
62066
+ }
62067
+ if (!((addrs.$length === filteredAddrs.$length))) {
62068
+ return [cname, filteredAddrs, new DNSError.ptr(errMalformedDNSRecordsDetail, name, "", false, false, false)];
62069
+ }
62070
+ return [cname, filteredAddrs, $ifaceNil];
62050
62071
  };
62051
62072
  Resolver.prototype.LookupSRV = function(ctx, service, proto, name) { return this.$val.LookupSRV(ctx, service, proto, name); };
62052
62073
  Resolver.ptr.prototype.LookupMX = function(ctx, name) {
62053
- var ctx, name, r;
62074
+ var _i, _ref, _tuple, ctx, err, filteredMX, mx, name, r, records;
62054
62075
  r = this;
62055
- return r.lookupMX(ctx, name);
62076
+ _tuple = r.lookupMX(ctx, name);
62077
+ records = _tuple[0];
62078
+ err = _tuple[1];
62079
+ if (!($interfaceIsEqual(err, $ifaceNil))) {
62080
+ return [sliceType$9.nil, err];
62081
+ }
62082
+ filteredMX = $makeSlice(sliceType$9, 0, records.$length);
62083
+ _ref = records;
62084
+ _i = 0;
62085
+ while (true) {
62086
+ if (!(_i < _ref.$length)) { break; }
62087
+ mx = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
62088
+ if (mx === ptrType$18.nil) {
62089
+ _i++;
62090
+ continue;
62091
+ }
62092
+ if (!(mx.Host === ".") && !isDomainName(mx.Host)) {
62093
+ _i++;
62094
+ continue;
62095
+ }
62096
+ filteredMX = $append(filteredMX, mx);
62097
+ _i++;
62098
+ }
62099
+ if (!((records.$length === filteredMX.$length))) {
62100
+ return [filteredMX, new DNSError.ptr(errMalformedDNSRecordsDetail, name, "", false, false, false)];
62101
+ }
62102
+ return [filteredMX, $ifaceNil];
62056
62103
  };
62057
62104
  Resolver.prototype.LookupMX = function(ctx, name) { return this.$val.LookupMX(ctx, name); };
62058
62105
  Resolver.ptr.prototype.LookupNS = function(ctx, name) {
62059
- var ctx, name, r;
62106
+ var _i, _ref, _tuple, ctx, err, filteredNS, name, ns, r, records;
62060
62107
  r = this;
62061
- return r.lookupNS(ctx, name);
62108
+ _tuple = r.lookupNS(ctx, name);
62109
+ records = _tuple[0];
62110
+ err = _tuple[1];
62111
+ if (!($interfaceIsEqual(err, $ifaceNil))) {
62112
+ return [sliceType$10.nil, err];
62113
+ }
62114
+ filteredNS = $makeSlice(sliceType$10, 0, records.$length);
62115
+ _ref = records;
62116
+ _i = 0;
62117
+ while (true) {
62118
+ if (!(_i < _ref.$length)) { break; }
62119
+ ns = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
62120
+ if (ns === ptrType$19.nil) {
62121
+ _i++;
62122
+ continue;
62123
+ }
62124
+ if (!isDomainName(ns.Host)) {
62125
+ _i++;
62126
+ continue;
62127
+ }
62128
+ filteredNS = $append(filteredNS, ns);
62129
+ _i++;
62130
+ }
62131
+ if (!((records.$length === filteredNS.$length))) {
62132
+ return [filteredNS, new DNSError.ptr(errMalformedDNSRecordsDetail, name, "", false, false, false)];
62133
+ }
62134
+ return [filteredNS, $ifaceNil];
62062
62135
  };
62063
62136
  Resolver.prototype.LookupNS = function(ctx, name) { return this.$val.LookupNS(ctx, name); };
62064
62137
  Resolver.ptr.prototype.LookupTXT = function(ctx, name) {
@@ -62068,14 +62141,29 @@ $packages["net"] = (function() {
62068
62141
  };
62069
62142
  Resolver.prototype.LookupTXT = function(ctx, name) { return this.$val.LookupTXT(ctx, name); };
62070
62143
  Resolver.ptr.prototype.LookupAddr = function(ctx, addr) {
62071
- var _tuple, addr, ctx, err, names, r;
62072
- names = sliceType.nil;
62073
- err = $ifaceNil;
62144
+ var _i, _ref, _tuple, addr, ctx, err, filteredNames, name, names, r;
62074
62145
  r = this;
62075
62146
  _tuple = r.lookupAddr(ctx, addr);
62076
62147
  names = _tuple[0];
62077
62148
  err = _tuple[1];
62078
- return [names, err];
62149
+ if (!($interfaceIsEqual(err, $ifaceNil))) {
62150
+ return [sliceType.nil, err];
62151
+ }
62152
+ filteredNames = $makeSlice(sliceType, 0, names.$length);
62153
+ _ref = names;
62154
+ _i = 0;
62155
+ while (true) {
62156
+ if (!(_i < _ref.$length)) { break; }
62157
+ name = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
62158
+ if (isDomainName(name)) {
62159
+ filteredNames = $append(filteredNames, name);
62160
+ }
62161
+ _i++;
62162
+ }
62163
+ if (!((names.$length === filteredNames.$length))) {
62164
+ return [filteredNames, new DNSError.ptr(errMalformedDNSRecordsDetail, addr, "", false, false, false)];
62165
+ }
62166
+ return [filteredNames, $ifaceNil];
62079
62167
  };
62080
62168
  Resolver.prototype.LookupAddr = function(ctx, addr) { return this.$val.LookupAddr(ctx, addr); };
62081
62169
  lookupProtocol = function(ctx, name) {
@@ -64964,6 +65052,7 @@ $packages["net"] = (function() {
64964
65052
  protocols = $makeMap($String.keyFor, [{ k: "icmp", v: 1 }, { k: "igmp", v: 2 }, { k: "tcp", v: 6 }, { k: "udp", v: 17 }, { k: "ipv6-icmp", v: 58 }]);
64965
65053
  services = $makeMap($String.keyFor, [{ k: "udp", v: $makeMap($String.keyFor, [{ k: "domain", v: 53 }]) }, { k: "tcp", v: $makeMap($String.keyFor, [{ k: "ftp", v: 21 }, { k: "ftps", v: 990 }, { k: "gopher", v: 70 }, { k: "http", v: 80 }, { k: "https", v: 443 }, { k: "imap2", v: 143 }, { k: "imap3", v: 220 }, { k: "imaps", v: 993 }, { k: "pop3", v: 110 }, { k: "pop3s", v: 995 }, { k: "smtp", v: 25 }, { k: "ssh", v: 22 }, { k: "telnet", v: 23 }]) }]);
64966
65054
  $pkg.DefaultResolver = new Resolver.ptr(false, false, $throwNilPointerError, new singleflight.Group.ptr(new sync.Mutex.ptr(0, 0), false));
65055
+ errMalformedDNSRecordsDetail = "DNS response contained records which contain invalid names";
64967
65056
  errNoSuitableAddress = errors.New("no suitable address found");
64968
65057
  errMissingAddress = errors.New("missing address");
64969
65058
  errCanceled = errors.New("operation was canceled");
@@ -103765,8 +103854,8 @@ $packages["crypto/tls"] = (function() {
103765
103854
  };
103766
103855
  rsaKeyAgreement.prototype.processServerKeyExchange = function(config, clientHello, serverHello, cert, skx) { return this.$val.processServerKeyExchange(config, clientHello, serverHello, cert, skx); };
103767
103856
  rsaKeyAgreement.ptr.prototype.generateClientKeyExchange = function(config, clientHello, cert) {
103768
- var _r, _r$1, _tuple, _tuple$1, cert, ckx, clientHello, config, encrypted, err, ka, preMasterSecret, x, x$1, $s, $r;
103769
- /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r = $f._r; _r$1 = $f._r$1; _tuple = $f._tuple; _tuple$1 = $f._tuple$1; cert = $f.cert; ckx = $f.ckx; clientHello = $f.clientHello; config = $f.config; encrypted = $f.encrypted; err = $f.err; ka = $f.ka; preMasterSecret = $f.preMasterSecret; x = $f.x; x$1 = $f.x$1; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
103857
+ var _r, _r$1, _tuple, _tuple$1, _tuple$2, cert, ckx, clientHello, config, encrypted, err, ka, ok, preMasterSecret, rsaKey, x, x$1, $s, $r;
103858
+ /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _r = $f._r; _r$1 = $f._r$1; _tuple = $f._tuple; _tuple$1 = $f._tuple$1; _tuple$2 = $f._tuple$2; cert = $f.cert; ckx = $f.ckx; clientHello = $f.clientHello; config = $f.config; encrypted = $f.encrypted; err = $f.err; ka = $f.ka; ok = $f.ok; preMasterSecret = $f.preMasterSecret; rsaKey = $f.rsaKey; x = $f.x; x$1 = $f.x$1; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
103770
103859
  ka = this;
103771
103860
  preMasterSecret = $makeSlice(sliceType$5, 48);
103772
103861
  (0 >= preMasterSecret.$length ? ($throwRuntimeError("index out of range"), undefined) : preMasterSecret.$array[preMasterSecret.$offset + 0] = (((clientHello.vers >>> 8 << 16 >>> 16) << 24 >>> 24)));
@@ -103777,10 +103866,16 @@ $packages["crypto/tls"] = (function() {
103777
103866
  if (!($interfaceIsEqual(err, $ifaceNil))) {
103778
103867
  $s = -1; return [sliceType$5.nil, ptrType$8.nil, err];
103779
103868
  }
103780
- _r$1 = rsa.EncryptPKCS1v15(config.rand(), $assertType(cert.PublicKey, ptrType$5), preMasterSecret); /* */ $s = 2; case 2: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
103781
- _tuple$1 = _r$1;
103782
- encrypted = _tuple$1[0];
103783
- err = _tuple$1[1];
103869
+ _tuple$1 = $assertType(cert.PublicKey, ptrType$5, true);
103870
+ rsaKey = _tuple$1[0];
103871
+ ok = _tuple$1[1];
103872
+ if (!ok) {
103873
+ $s = -1; return [sliceType$5.nil, ptrType$8.nil, errors.New("tls: server certificate contains incorrect key type for selected ciphersuite")];
103874
+ }
103875
+ _r$1 = rsa.EncryptPKCS1v15(config.rand(), rsaKey, preMasterSecret); /* */ $s = 2; case 2: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
103876
+ _tuple$2 = _r$1;
103877
+ encrypted = _tuple$2[0];
103878
+ err = _tuple$2[1];
103784
103879
  if (!($interfaceIsEqual(err, $ifaceNil))) {
103785
103880
  $s = -1; return [sliceType$5.nil, ptrType$8.nil, err];
103786
103881
  }
@@ -103790,7 +103885,7 @@ $packages["crypto/tls"] = (function() {
103790
103885
  (x$1 = ckx.ciphertext, (1 >= x$1.$length ? ($throwRuntimeError("index out of range"), undefined) : x$1.$array[x$1.$offset + 1] = ((encrypted.$length << 24 >>> 24))));
103791
103886
  $copySlice($subslice(ckx.ciphertext, 2), encrypted);
103792
103887
  $s = -1; return [preMasterSecret, ckx, $ifaceNil];
103793
- /* */ } return; } if ($f === undefined) { $f = { $blk: rsaKeyAgreement.ptr.prototype.generateClientKeyExchange }; } $f._r = _r; $f._r$1 = _r$1; $f._tuple = _tuple; $f._tuple$1 = _tuple$1; $f.cert = cert; $f.ckx = ckx; $f.clientHello = clientHello; $f.config = config; $f.encrypted = encrypted; $f.err = err; $f.ka = ka; $f.preMasterSecret = preMasterSecret; $f.x = x; $f.x$1 = x$1; $f.$s = $s; $f.$r = $r; return $f;
103888
+ /* */ } return; } if ($f === undefined) { $f = { $blk: rsaKeyAgreement.ptr.prototype.generateClientKeyExchange }; } $f._r = _r; $f._r$1 = _r$1; $f._tuple = _tuple; $f._tuple$1 = _tuple$1; $f._tuple$2 = _tuple$2; $f.cert = cert; $f.ckx = ckx; $f.clientHello = clientHello; $f.config = config; $f.encrypted = encrypted; $f.err = err; $f.ka = ka; $f.ok = ok; $f.preMasterSecret = preMasterSecret; $f.rsaKey = rsaKey; $f.x = x; $f.x$1 = x$1; $f.$s = $s; $f.$r = $r; return $f;
103794
103889
  };
103795
103890
  rsaKeyAgreement.prototype.generateClientKeyExchange = function(config, clientHello, cert) { return this.$val.generateClientKeyExchange(config, clientHello, cert); };
103796
103891
  sha1Hash = function(slices) {
@@ -114836,7 +114931,7 @@ $packages["vendor/golang.org/x/net/http2/hpack"] = (function() {
114836
114931
  return $pkg;
114837
114932
  })();
114838
114933
  $packages["net/http"] = (function() {
114839
- 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;
114840
114935
  bufio = $packages["bufio"];
114841
114936
  bytes = $packages["bytes"];
114842
114937
  gzip = $packages["compress/gzip"];
@@ -115778,10 +115873,10 @@ $packages["net/http"] = (function() {
115778
115873
  this.state = 0;
115779
115874
  this.bytes = new $Int64(0, 0);
115780
115875
  this.subtreeBytes = new $Int64(0, 0);
115781
- this.parent = ptrType$82.nil;
115782
- this.kids = ptrType$82.nil;
115783
- this.prev = ptrType$82.nil;
115784
- this.next = ptrType$82.nil;
115876
+ this.parent = ptrType$83.nil;
115877
+ this.kids = ptrType$83.nil;
115878
+ this.prev = ptrType$83.nil;
115879
+ this.next = ptrType$83.nil;
115785
115880
  return;
115786
115881
  }
115787
115882
  this.q = q_;
@@ -115799,7 +115894,7 @@ $packages["net/http"] = (function() {
115799
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_) {
115800
115895
  this.$val = this;
115801
115896
  if (arguments.length === 0) {
115802
- this.root = new http2priorityNode.ptr(new http2writeQueue.ptr(sliceType$24.nil), 0, 0, 0, new $Int64(0, 0), new $Int64(0, 0), ptrType$82.nil, ptrType$82.nil, ptrType$82.nil, ptrType$82.nil);
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);
115803
115898
  this.nodes = false;
115804
115899
  this.maxID = 0;
115805
115900
  this.closedNodes = sliceType$25.nil;
@@ -116013,8 +116108,8 @@ $packages["net/http"] = (function() {
116013
116108
  this.remoteAddr = "";
116014
116109
  this.tlsState = ptrType$21.nil;
116015
116110
  this.werr = $ifaceNil;
116016
- this.r = ptrType$93.nil;
116017
- this.bufr = ptrType$75.nil;
116111
+ this.r = ptrType$94.nil;
116112
+ this.bufr = ptrType$77.nil;
116018
116113
  this.bufw = ptrType$9.nil;
116019
116114
  this.lastMethod = "";
116020
116115
  this.curReq = new atomic.Value.ptr($ifaceNil);
@@ -116041,7 +116136,7 @@ $packages["net/http"] = (function() {
116041
116136
  chunkWriter = $pkg.chunkWriter = $newType(0, $kindStruct, "http.chunkWriter", true, "net/http", false, function(res_, header_, wroteHeader_, chunking_) {
116042
116137
  this.$val = this;
116043
116138
  if (arguments.length === 0) {
116044
- this.res = ptrType$94.nil;
116139
+ this.res = ptrType$95.nil;
116045
116140
  this.header = false;
116046
116141
  this.wroteHeader = false;
116047
116142
  this.chunking = false;
@@ -116055,7 +116150,7 @@ $packages["net/http"] = (function() {
116055
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_) {
116056
116151
  this.$val = this;
116057
116152
  if (arguments.length === 0) {
116058
- this.conn = ptrType$97.nil;
116153
+ this.conn = ptrType$98.nil;
116059
116154
  this.req = ptrType$6.nil;
116060
116155
  this.reqBody = $ifaceNil;
116061
116156
  this.cancelCtx = $throwNilPointerError;
@@ -116066,7 +116161,7 @@ $packages["net/http"] = (function() {
116066
116161
  this.canWriteContinue = 0;
116067
116162
  this.writeContinueMu = new sync.Mutex.ptr(0, 0);
116068
116163
  this.w = ptrType$9.nil;
116069
- this.cw = new chunkWriter.ptr(ptrType$94.nil, false, false, false);
116164
+ this.cw = new chunkWriter.ptr(ptrType$95.nil, false, false, false);
116070
116165
  this.handlerHeader = false;
116071
116166
  this.calledHeader = false;
116072
116167
  this.written = new $Int64(0, 0);
@@ -116136,11 +116231,11 @@ $packages["net/http"] = (function() {
116136
116231
  connReader = $pkg.connReader = $newType(0, $kindStruct, "http.connReader", true, "net/http", false, function(conn_, mu_, hasByte_, byteBuf_, cond_, inRead_, aborted_, remain_) {
116137
116232
  this.$val = this;
116138
116233
  if (arguments.length === 0) {
116139
- this.conn = ptrType$97.nil;
116234
+ this.conn = ptrType$98.nil;
116140
116235
  this.mu = new sync.Mutex.ptr(0, 0);
116141
116236
  this.hasByte = false;
116142
116237
  this.byteBuf = arrayType$6.zero();
116143
- this.cond = ptrType$74.nil;
116238
+ this.cond = ptrType$73.nil;
116144
116239
  this.inRead = false;
116145
116240
  this.aborted = false;
116146
116241
  this.remain = new $Int64(0, 0);
@@ -116158,7 +116253,7 @@ $packages["net/http"] = (function() {
116158
116253
  expectContinueReader = $pkg.expectContinueReader = $newType(0, $kindStruct, "http.expectContinueReader", true, "net/http", false, function(resp_, readCloser_, closed_, sawEOF_) {
116159
116254
  this.$val = this;
116160
116255
  if (arguments.length === 0) {
116161
- this.resp = ptrType$94.nil;
116256
+ this.resp = ptrType$95.nil;
116162
116257
  this.readCloser = $ifaceNil;
116163
116258
  this.closed = 0;
116164
116259
  this.sawEOF = 0;
@@ -116312,7 +116407,7 @@ $packages["net/http"] = (function() {
116312
116407
  this.$val = this;
116313
116408
  if (arguments.length === 0) {
116314
116409
  this.ctx = $ifaceNil;
116315
- this.c = ptrType$101.nil;
116410
+ this.c = ptrType$76.nil;
116316
116411
  this.h = new serverHandler.ptr(ptrType$51.nil);
116317
116412
  return;
116318
116413
  }
@@ -116333,7 +116428,7 @@ $packages["net/http"] = (function() {
116333
116428
  checkConnErrorWriter = $pkg.checkConnErrorWriter = $newType(0, $kindStruct, "http.checkConnErrorWriter", true, "net/http", false, function(c_) {
116334
116429
  this.$val = this;
116335
116430
  if (arguments.length === 0) {
116336
- this.c = ptrType$97.nil;
116431
+ this.c = ptrType$98.nil;
116337
116432
  return;
116338
116433
  }
116339
116434
  this.c = c_;
@@ -116465,7 +116560,7 @@ $packages["net/http"] = (function() {
116465
116560
  if (arguments.length === 0) {
116466
116561
  this.src = $ifaceNil;
116467
116562
  this.hdr = $ifaceNil;
116468
- this.r = ptrType$75.nil;
116563
+ this.r = ptrType$77.nil;
116469
116564
  this.closing = false;
116470
116565
  this.doEarlyClose = false;
116471
116566
  this.mu = new sync.Mutex.ptr(0, 0);
@@ -116489,7 +116584,7 @@ $packages["net/http"] = (function() {
116489
116584
  bodyLocked = $pkg.bodyLocked = $newType(0, $kindStruct, "http.bodyLocked", true, "net/http", false, function(b_) {
116490
116585
  this.$val = this;
116491
116586
  if (arguments.length === 0) {
116492
- this.b = ptrType$96.nil;
116587
+ this.b = ptrType$97.nil;
116493
116588
  return;
116494
116589
  }
116495
116590
  this.b = b_;
@@ -116611,41 +116706,41 @@ $packages["net/http"] = (function() {
116611
116706
  ptrType$70 = $ptrType(http2responseWriterState);
116612
116707
  ptrType$71 = $ptrType(http2sorter);
116613
116708
  ptrType$72 = $ptrType(PushOptions);
116614
- ptrType$74 = $ptrType(sync.Cond);
116615
- ptrType$75 = $ptrType(bufio.Reader);
116709
+ ptrType$73 = $ptrType(sync.Cond);
116710
+ ptrType$76 = $ptrType(tls.Conn);
116711
+ ptrType$77 = $ptrType(bufio.Reader);
116616
116712
  sliceType$23 = $sliceType(http2Setting);
116617
- ptrType$76 = $ptrType(Header);
116618
- sliceType$24 = $sliceType(http2FrameWriteRequest);
116619
- ptrType$80 = $ptrType(http2writeQueue);
116620
- ptrType$81 = $ptrType(http2PriorityWriteSchedulerConfig);
116621
- ptrType$82 = $ptrType(http2priorityNode);
116622
- sliceType$25 = $sliceType(ptrType$82);
116623
- ptrType$83 = $ptrType(http2writeQueuePool);
116624
- ptrType$84 = $ptrType(sliceType$25);
116625
- ptrType$85 = $ptrType(headerSorter);
116626
- ptrType$86 = $ptrType(multipart.Reader);
116627
- ptrType$87 = $ptrType(bytes.Reader);
116628
- ptrType$88 = $ptrType(strings.Reader);
116629
- ptrType$89 = $ptrType(textproto.Reader);
116630
- ptrType$90 = $ptrType(maxBytesReader);
116713
+ ptrType$78 = $ptrType(Header);
116631
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);
116632
116728
  sliceType$26 = $sliceType(io.Reader);
116633
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: ""}]);
116634
- ptrType$91 = $ptrType(bufio.ReadWriter);
116635
- ptrType$92 = $ptrType($Int32);
116636
- ptrType$93 = $ptrType(connReader);
116730
+ ptrType$92 = $ptrType(bufio.ReadWriter);
116731
+ ptrType$93 = $ptrType($Int32);
116732
+ ptrType$94 = $ptrType(connReader);
116637
116733
  structType$2 = $structType("net/http", [{prop: "atomic", name: "atomic", embedded: false, exported: false, typ: $Uint64, tag: ""}]);
116638
- ptrType$94 = $ptrType(response);
116639
- ptrType$95 = $ptrType(sync.Pool);
116640
- ptrType$96 = $ptrType(body);
116641
- ptrType$97 = $ptrType(conn);
116734
+ ptrType$95 = $ptrType(response);
116735
+ ptrType$96 = $ptrType(sync.Pool);
116736
+ ptrType$97 = $ptrType(body);
116737
+ ptrType$98 = $ptrType(conn);
116642
116738
  arrayType$7 = $arrayType($Uint8, 10);
116643
116739
  arrayType$8 = $arrayType($Uint8, 3);
116644
116740
  sliceType$27 = $sliceType($Uintptr);
116645
- ptrType$98 = $ptrType(runtime.Func);
116646
- ptrType$99 = $ptrType(expectContinueReader);
116647
- ptrType$100 = $ptrType($Uint64);
116648
- ptrType$101 = $ptrType(tls.Conn);
116741
+ ptrType$99 = $ptrType(runtime.Func);
116742
+ ptrType$100 = $ptrType(expectContinueReader);
116743
+ ptrType$101 = $ptrType($Uint64);
116649
116744
  arrayType$9 = $arrayType($Uint8, 5);
116650
116745
  ptrType$102 = $ptrType(net.Listener);
116651
116746
  ptrType$105 = $ptrType(transferWriter);
@@ -116676,11 +116771,11 @@ $packages["net/http"] = (function() {
116676
116771
  ptrType$123 = $ptrType(http2writeGoAway);
116677
116772
  funcType$12 = $funcType([], [$Uint32, $error], false);
116678
116773
  ptrType$124 = $ptrType(http2FrameWriteRequest);
116679
- funcType$13 = $funcType([ptrType$82, $Bool], [$Bool], false);
116774
+ funcType$13 = $funcType([ptrType$83, $Bool], [$Bool], false);
116680
116775
  ptrType$125 = $ptrType(http2priorityWriteScheduler);
116681
- mapType$10 = $mapType($Uint32, ptrType$82);
116776
+ mapType$10 = $mapType($Uint32, ptrType$83);
116682
116777
  ptrType$126 = $ptrType(http2randomWriteScheduler);
116683
- mapType$11 = $mapType($Uint32, ptrType$80);
116778
+ mapType$11 = $mapType($Uint32, ptrType$81);
116684
116779
  mapType$12 = $mapType($String, $Bool);
116685
116780
  ptrType$127 = $ptrType(contextKey);
116686
116781
  ptrType$128 = $ptrType(ProtocolError);
@@ -116689,19 +116784,19 @@ $packages["net/http"] = (function() {
116689
116784
  ptrType$132 = $ptrType(redirectHandler);
116690
116785
  ptrType$133 = $ptrType(ServeMux);
116691
116786
  mapType$13 = $mapType($String, muxEntry);
116692
- funcType$15 = $funcType([ptrType$51, ptrType$101, Handler], [], false);
116787
+ funcType$15 = $funcType([ptrType$51, ptrType$76, Handler], [], false);
116693
116788
  mapType$14 = $mapType($String, funcType$15);
116694
116789
  funcType$16 = $funcType([net.Conn, ConnState], [], false);
116695
116790
  funcType$17 = $funcType([net.Listener], [context.Context], false);
116696
116791
  funcType$18 = $funcType([context.Context, net.Conn], [context.Context], false);
116697
116792
  mapType$15 = $mapType(ptrType$102, structType);
116698
- mapType$16 = $mapType(ptrType$97, structType);
116793
+ mapType$16 = $mapType(ptrType$98, structType);
116699
116794
  ptrType$135 = $ptrType(onceCloseListener);
116700
116795
  ptrType$136 = $ptrType(loggingConn);
116701
116796
  ptrType$137 = $ptrType(exactSig);
116702
116797
  ptrType$138 = $ptrType(maskedSig);
116703
116798
  ptrType$141 = $ptrType(byteReader);
116704
- chanType$12 = $chanType(readResult, false, false);
116799
+ chanType$11 = $chanType(readResult, false, false);
116705
116800
  ptrType$142 = $ptrType(transferReader);
116706
116801
  basicAuth = function(username, password) {
116707
116802
  var auth, password, username;
@@ -117257,6 +117352,60 @@ $packages["net/http"] = (function() {
117257
117352
  $s = -1; return _r$2 < 0;
117258
117353
  /* */ } return; } if ($f === undefined) { $f = { $blk: isCookieNameValid }; } $f._r$2 = _r$2; $f.raw = raw; $f.$s = $s; $f.$r = $r; return $f;
117259
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
+ };
117260
117409
  http2isBadCipher = function(cipher) {
117261
117410
  var _1, cipher;
117262
117411
  _1 = cipher;
@@ -118337,7 +118486,7 @@ $packages["net/http"] = (function() {
118337
118486
  return [_, err];
118338
118487
  }
118339
118488
  }
118340
- if ((p.$length - ((padLength >> 0)) >> 0) <= 0) {
118489
+ if ((p.$length - ((padLength >> 0)) >> 0) < 0) {
118341
118490
  _tmp$6 = $ifaceNil;
118342
118491
  _tmp$7 = (x$5 = http2streamError(fh.StreamID, 1), new x$5.constructor.elem(x$5));
118343
118492
  _ = _tmp$6;
@@ -119165,18 +119314,27 @@ $packages["net/http"] = (function() {
119165
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;
119166
119315
  };
119167
119316
  http2lowerHeader = function(v) {
119168
- var _entry, _r$2, _tuple, ok, s, v, $s, $r;
119169
- /* */ $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;
119170
119321
  $r = http2buildCommonHeaderMapsOnce(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
119171
119322
  _tuple = (_entry = http2commonLowerHeader[$String.keyFor(v)], _entry !== undefined ? [_entry.v, true] : ["", false]);
119172
119323
  s = _tuple[0];
119173
119324
  ok = _tuple[1];
119174
119325
  if (ok) {
119175
- $s = -1; return s;
119326
+ _tmp = s;
119327
+ _tmp$1 = true;
119328
+ lower = _tmp;
119329
+ ascii = _tmp$1;
119330
+ $s = -1; return [lower, ascii];
119176
119331
  }
119177
- _r$2 = strings.ToLower(v); /* */ $s = 2; case 2: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
119178
- $s = -1; return _r$2;
119179
- /* */ } return; } if ($f === undefined) { $f = { $blk: http2lowerHeader }; } $f._entry = _entry; $f._r$2 = _r$2; $f._tuple = _tuple; $f.ok = ok; $f.s = s; $f.v = v; $f.$s = $s; $f.$r = $r; return $f;
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;
119180
119338
  };
119181
119339
  init = function() {
119182
119340
  var _r$2, e, $s, $r;
@@ -119743,8 +119901,8 @@ $packages["net/http"] = (function() {
119743
119901
  };
119744
119902
  http2serverInternalState.prototype.startGracefulShutdown = function() { return this.$val.startGracefulShutdown(); };
119745
119903
  http2ConfigureServer = function(s, conf) {
119746
- var _1, _i, _i$1, _key, _r$2, _r$3, _ref, _ref$1, _tmp, _tmp$1, conf, cs, h1, h2, haveNPN, haveRequired, i, p, protoHandler, s, sawBad, x$4, x$5, $s, $r;
119747
- /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _i = $f._i; _i$1 = $f._i$1; _key = $f._key; _r$2 = $f._r$2; _r$3 = $f._r$3; _ref = $f._ref; _ref$1 = $f._ref$1; _tmp = $f._tmp; _tmp$1 = $f._tmp$1; conf = $f.conf; cs = $f.cs; h1 = $f.h1; h2 = $f.h2; haveNPN = $f.haveNPN; haveRequired = $f.haveRequired; i = $f.i; p = $f.p; 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:
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:
119748
119906
  conf = [conf];
119749
119907
  if (s === ptrType$51.nil) {
119750
119908
  $panic(new $String("nil *http.Server"));
@@ -119804,21 +119962,12 @@ $packages["net/http"] = (function() {
119804
119962
  /* } */ case 12:
119805
119963
  /* } */ case 4:
119806
119964
  s.TLSConfig.PreferServerCipherSuites = true;
119807
- haveNPN = false;
119808
- _ref$1 = s.TLSConfig.NextProtos;
119809
- _i$1 = 0;
119810
- while (true) {
119811
- if (!(_i$1 < _ref$1.$length)) { break; }
119812
- p = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
119813
- if (p === "h2") {
119814
- haveNPN = true;
119815
- break;
119816
- }
119817
- _i$1++;
119818
- }
119819
- if (!haveNPN) {
119965
+ if (!http2strSliceContains(s.TLSConfig.NextProtos, "h2")) {
119820
119966
  s.TLSConfig.NextProtos = $append(s.TLSConfig.NextProtos, "h2");
119821
119967
  }
119968
+ if (!http2strSliceContains(s.TLSConfig.NextProtos, "http/1.1")) {
119969
+ s.TLSConfig.NextProtos = $append(s.TLSConfig.NextProtos, "http/1.1");
119970
+ }
119822
119971
  if (s.TLSNextProto === false) {
119823
119972
  s.TLSNextProto = $makeMap($String.keyFor, []);
119824
119973
  }
@@ -119846,7 +119995,7 @@ $packages["net/http"] = (function() {
119846
119995
  }; })(conf);
119847
119996
  _key = "h2"; (s.TLSNextProto || $throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(_key)] = { k: _key, v: protoHandler };
119848
119997
  $s = -1; return $ifaceNil;
119849
- /* */ } return; } if ($f === undefined) { $f = { $blk: http2ConfigureServer }; } $f._1 = _1; $f._i = _i; $f._i$1 = _i$1; $f._key = _key; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._ref = _ref; $f._ref$1 = _ref$1; $f._tmp = _tmp; $f._tmp$1 = _tmp$1; $f.conf = conf; $f.cs = cs; $f.h1 = h1; $f.h2 = h2; $f.haveNPN = haveNPN; $f.haveRequired = haveRequired; $f.i = i; $f.p = p; $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;
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;
119850
119999
  };
119851
120000
  http2ServeConnOpts.ptr.prototype.context = function() {
119852
120001
  var o;
@@ -120319,8 +120468,8 @@ $packages["net/http"] = (function() {
120319
120468
  };
120320
120469
  http2serverConn.prototype.notePanic = function() { return this.$val.notePanic(); };
120321
120470
  http2serverConn.ptr.prototype.serve = function() {
120322
- var _1, _arg, _arg$1, _arg$2, _arg$3, _arg$4, _arg$5, _arg$6, _arg$7, _r$10, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _ref, _selection, _tuple, _v, diff, err, gracefulShutdownComplete, loopNum, m, msg, ok, res, res$1, sc, se, sentGoAway, settingsTimer, v, v$1, v$2, v$3, wr, x$4, $s, $deferred, $r;
120323
- /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _arg = $f._arg; _arg$1 = $f._arg$1; _arg$2 = $f._arg$2; _arg$3 = $f._arg$3; _arg$4 = $f._arg$4; _arg$5 = $f._arg$5; _arg$6 = $f._arg$6; _arg$7 = $f._arg$7; _r$10 = $f._r$10; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _r$5 = $f._r$5; _r$6 = $f._r$6; _r$7 = $f._r$7; _r$8 = $f._r$8; _r$9 = $f._r$9; _ref = $f._ref; _selection = $f._selection; _tuple = $f._tuple; _v = $f._v; diff = $f.diff; err = $f.err; gracefulShutdownComplete = $f.gracefulShutdownComplete; loopNum = $f.loopNum; m = $f.m; msg = $f.msg; ok = $f.ok; res = $f.res; res$1 = $f.res$1; sc = $f.sc; se = $f.se; sentGoAway = $f.sentGoAway; settingsTimer = $f.settingsTimer; v = $f.v; v$1 = $f.v$1; v$2 = $f.v$2; v$3 = $f.v$3; wr = $f.wr; x$4 = $f.x$4; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
120471
+ var _1, _arg, _arg$1, _arg$2, _arg$3, _arg$4, _arg$5, _arg$6, _arg$7, _r$10, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _ref, _selection, _selection$1, _tuple, _v, diff, err, gracefulShutdownComplete, loopNum, m, msg, ok, res, res$1, sc, se, sentGoAway, settingsTimer, v, v$1, v$2, v$3, wr, wroteRes, x$4, $s, $deferred, $r;
120472
+ /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _arg = $f._arg; _arg$1 = $f._arg$1; _arg$2 = $f._arg$2; _arg$3 = $f._arg$3; _arg$4 = $f._arg$4; _arg$5 = $f._arg$5; _arg$6 = $f._arg$6; _arg$7 = $f._arg$7; _r$10 = $f._r$10; _r$2 = $f._r$2; _r$3 = $f._r$3; _r$4 = $f._r$4; _r$5 = $f._r$5; _r$6 = $f._r$6; _r$7 = $f._r$7; _r$8 = $f._r$8; _r$9 = $f._r$9; _ref = $f._ref; _selection = $f._selection; _selection$1 = $f._selection$1; _tuple = $f._tuple; _v = $f._v; diff = $f.diff; err = $f.err; gracefulShutdownComplete = $f.gracefulShutdownComplete; loopNum = $f.loopNum; m = $f.m; msg = $f.msg; ok = $f.ok; res = $f.res; res$1 = $f.res$1; sc = $f.sc; se = $f.se; sentGoAway = $f.sentGoAway; settingsTimer = $f.settingsTimer; v = $f.v; v$1 = $f.v$1; v$2 = $f.v$2; v$3 = $f.v$3; wr = $f.wr; wroteRes = $f.wroteRes; x$4 = $f.x$4; $s = $f.$s; $deferred = $f.$deferred; $r = $f.$r; } var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $deferred.index = $curGoroutine.deferStack.length; $curGoroutine.deferStack.push($deferred);
120324
120473
  sc = this;
120325
120474
  $r = sc.serveG.check(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120326
120475
  $deferred.push([$methodVal(sc, "notePanic"), []]);
@@ -120395,13 +120544,27 @@ $packages["net/http"] = (function() {
120395
120544
  $s = 25; continue;
120396
120545
  /* } else if (_selection[0] === 2) { */ case 22:
120397
120546
  res$1 = $clone(_selection[1][0], http2readFrameResult);
120398
- _r$6 = sc.processFrameFromReader($clone(res$1, http2readFrameResult)); /* */ $s = 33; case 33: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
120399
- /* */ if (!_r$6) { $s = 31; continue; }
120547
+ /* */ if (sc.writingFrameAsync) { $s = 31; continue; }
120400
120548
  /* */ $s = 32; continue;
120401
- /* if (!_r$6) { */ case 31:
120402
- $s = -1; return;
120549
+ /* if (sc.writingFrameAsync) { */ case 31:
120550
+ _selection$1 = $select([[sc.wroteFrameCh], []]);
120551
+ /* */ if (_selection$1[0] === 0) { $s = 33; continue; }
120552
+ /* */ if (_selection$1[0] === 1) { $s = 34; continue; }
120553
+ /* */ $s = 35; continue;
120554
+ /* if (_selection$1[0] === 0) { */ case 33:
120555
+ wroteRes = $clone(_selection$1[1][0], http2frameWriteResult);
120556
+ $r = sc.wroteFrame($clone(wroteRes, http2frameWriteResult)); /* */ $s = 36; case 36: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120557
+ $s = 35; continue;
120558
+ /* } else if (_selection$1[0] === 1) { */ case 34:
120559
+ /* } */ case 35:
120403
120560
  /* } */ case 32:
120404
- $r = res$1.readMore(); /* */ $s = 34; case 34: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120561
+ _r$6 = sc.processFrameFromReader($clone(res$1, http2readFrameResult)); /* */ $s = 39; case 39: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
120562
+ /* */ if (!_r$6) { $s = 37; continue; }
120563
+ /* */ $s = 38; continue;
120564
+ /* if (!_r$6) { */ case 37:
120565
+ $s = -1; return;
120566
+ /* } */ case 38:
120567
+ $r = res$1.readMore(); /* */ $s = 40; case 40: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120405
120568
  if (!(settingsTimer === ptrType$57.nil)) {
120406
120569
  settingsTimer.Stop();
120407
120570
  settingsTimer = ptrType$57.nil;
@@ -120409,78 +120572,78 @@ $packages["net/http"] = (function() {
120409
120572
  $s = 25; continue;
120410
120573
  /* } else if (_selection[0] === 3) { */ case 23:
120411
120574
  m = $clone(_selection[1][0], http2bodyReadMsg);
120412
- $r = sc.noteBodyRead(m.st, m.n); /* */ $s = 35; case 35: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120575
+ $r = sc.noteBodyRead(m.st, m.n); /* */ $s = 41; case 41: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120413
120576
  $s = 25; continue;
120414
120577
  /* } else if (_selection[0] === 4) { */ case 24:
120415
120578
  msg = _selection[1][0];
120416
120579
  _ref = msg;
120417
- /* */ if ($assertType(_ref, funcType$1, true)[1]) { $s = 36; continue; }
120418
- /* */ if ($assertType(_ref, ptrType$10, true)[1]) { $s = 37; continue; }
120419
- /* */ if ($assertType(_ref, ptrType$62, true)[1]) { $s = 38; continue; }
120420
- /* */ $s = 39; continue;
120421
- /* if ($assertType(_ref, funcType$1, true)[1]) { */ case 36:
120580
+ /* */ if ($assertType(_ref, funcType$1, true)[1]) { $s = 42; continue; }
120581
+ /* */ if ($assertType(_ref, ptrType$10, true)[1]) { $s = 43; continue; }
120582
+ /* */ if ($assertType(_ref, ptrType$62, true)[1]) { $s = 44; continue; }
120583
+ /* */ $s = 45; continue;
120584
+ /* if ($assertType(_ref, funcType$1, true)[1]) { */ case 42:
120422
120585
  v = _ref.$val;
120423
- $r = v(loopNum); /* */ $s = 41; case 41: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120424
- $s = 40; continue;
120425
- /* } else if ($assertType(_ref, ptrType$10, true)[1]) { */ case 37:
120586
+ $r = v(loopNum); /* */ $s = 47; case 47: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120587
+ $s = 46; continue;
120588
+ /* } else if ($assertType(_ref, ptrType$10, true)[1]) { */ case 43:
120426
120589
  v$1 = _ref.$val;
120427
120590
  _1 = v$1;
120428
- /* */ if (_1 === (http2settingsTimerMsg)) { $s = 43; continue; }
120429
- /* */ if (_1 === (http2idleTimerMsg)) { $s = 44; continue; }
120430
- /* */ if (_1 === (http2shutdownTimerMsg)) { $s = 45; continue; }
120431
- /* */ if (_1 === (http2gracefulShutdownMsg)) { $s = 46; continue; }
120432
- /* */ $s = 47; continue;
120433
- /* if (_1 === (http2settingsTimerMsg)) { */ case 43:
120434
- _r$7 = sc.conn.RemoteAddr(); /* */ $s = 49; case 49: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
120591
+ /* */ if (_1 === (http2settingsTimerMsg)) { $s = 49; continue; }
120592
+ /* */ if (_1 === (http2idleTimerMsg)) { $s = 50; continue; }
120593
+ /* */ if (_1 === (http2shutdownTimerMsg)) { $s = 51; continue; }
120594
+ /* */ if (_1 === (http2gracefulShutdownMsg)) { $s = 52; continue; }
120595
+ /* */ $s = 53; continue;
120596
+ /* if (_1 === (http2settingsTimerMsg)) { */ case 49:
120597
+ _r$7 = sc.conn.RemoteAddr(); /* */ $s = 55; case 55: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
120435
120598
  _arg$6 = _r$7;
120436
- $r = sc.logf("timeout waiting for SETTINGS frames from %v", new sliceType([_arg$6])); /* */ $s = 50; case 50: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120599
+ $r = sc.logf("timeout waiting for SETTINGS frames from %v", new sliceType([_arg$6])); /* */ $s = 56; case 56: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120437
120600
  $s = -1; return;
120438
- /* } else if (_1 === (http2idleTimerMsg)) { */ case 44:
120439
- $r = sc.vlogf("connection is idle", new sliceType([])); /* */ $s = 51; case 51: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120440
- $r = sc.goAway(0); /* */ $s = 52; case 52: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120441
- $s = 48; continue;
120442
- /* } else if (_1 === (http2shutdownTimerMsg)) { */ case 45:
120443
- _r$8 = sc.conn.RemoteAddr(); /* */ $s = 53; case 53: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
120601
+ /* } else if (_1 === (http2idleTimerMsg)) { */ case 50:
120602
+ $r = sc.vlogf("connection is idle", new sliceType([])); /* */ $s = 57; case 57: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120603
+ $r = sc.goAway(0); /* */ $s = 58; case 58: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120604
+ $s = 54; continue;
120605
+ /* } else if (_1 === (http2shutdownTimerMsg)) { */ case 51:
120606
+ _r$8 = sc.conn.RemoteAddr(); /* */ $s = 59; case 59: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
120444
120607
  _arg$7 = _r$8;
120445
- $r = sc.vlogf("GOAWAY close timer fired; closing conn from %v", new sliceType([_arg$7])); /* */ $s = 54; case 54: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120608
+ $r = sc.vlogf("GOAWAY close timer fired; closing conn from %v", new sliceType([_arg$7])); /* */ $s = 60; case 60: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120446
120609
  $s = -1; return;
120447
- /* } else if (_1 === (http2gracefulShutdownMsg)) { */ case 46:
120448
- $r = sc.startGracefulShutdownInternal(); /* */ $s = 55; case 55: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120449
- $s = 48; continue;
120450
- /* } else { */ case 47:
120610
+ /* } else if (_1 === (http2gracefulShutdownMsg)) { */ case 52:
120611
+ $r = sc.startGracefulShutdownInternal(); /* */ $s = 61; case 61: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120612
+ $s = 54; continue;
120613
+ /* } else { */ case 53:
120451
120614
  $panic(new $String("unknown timer"));
120452
- /* } */ case 48:
120453
- case 42:
120454
- $s = 40; continue;
120455
- /* } else if ($assertType(_ref, ptrType$62, true)[1]) { */ case 38:
120615
+ /* } */ case 54:
120616
+ case 48:
120617
+ $s = 46; continue;
120618
+ /* } else if ($assertType(_ref, ptrType$62, true)[1]) { */ case 44:
120456
120619
  v$2 = _ref.$val;
120457
- $r = sc.startPush(v$2); /* */ $s = 56; case 56: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120458
- $s = 40; continue;
120459
- /* } else { */ case 39:
120620
+ $r = sc.startPush(v$2); /* */ $s = 62; case 62: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120621
+ $s = 46; continue;
120622
+ /* } else { */ case 45:
120460
120623
  v$3 = _ref;
120461
- _r$9 = fmt.Sprintf("unexpected type %T", new sliceType([v$3])); /* */ $s = 57; case 57: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
120624
+ _r$9 = fmt.Sprintf("unexpected type %T", new sliceType([v$3])); /* */ $s = 63; case 63: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
120462
120625
  $panic(new $String(_r$9));
120463
- /* } */ case 40:
120626
+ /* } */ case 46:
120464
120627
  /* } } */ case 25:
120465
- /* */ if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { $s = 58; continue; }
120466
- /* */ $s = 59; continue;
120467
- /* if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { */ case 58:
120468
- $r = sc.vlogf("http2: too many control frames in send queue, closing connection", new sliceType([])); /* */ $s = 60; case 60: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120628
+ /* */ if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { $s = 64; continue; }
120629
+ /* */ $s = 65; continue;
120630
+ /* if (sc.queuedControlFrames > sc.srv.maxQueuedControlFrames()) { */ case 64:
120631
+ $r = sc.vlogf("http2: too many control frames in send queue, closing connection", new sliceType([])); /* */ $s = 66; case 66: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120469
120632
  $s = -1; return;
120470
- /* } */ case 59:
120633
+ /* } */ case 65:
120471
120634
  sentGoAway = sc.inGoAway && !sc.needToSendGoAway && !sc.writingFrame;
120472
- if (!(sc.goAwayCode === 0)) { _v = false; $s = 61; continue s; }
120473
- _r$10 = sc.curOpenStreams(); /* */ $s = 62; case 62: if($c) { $c = false; _r$10 = _r$10.$blk(); } if (_r$10 && _r$10.$blk !== undefined) { break s; }
120474
- _v = _r$10 === 0; case 61:
120635
+ if (!(sc.goAwayCode === 0)) { _v = false; $s = 67; continue s; }
120636
+ _r$10 = sc.curOpenStreams(); /* */ $s = 68; case 68: if($c) { $c = false; _r$10 = _r$10.$blk(); } if (_r$10 && _r$10.$blk !== undefined) { break s; }
120637
+ _v = _r$10 === 0; case 67:
120475
120638
  gracefulShutdownComplete = _v;
120476
- /* */ if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { $s = 63; continue; }
120477
- /* */ $s = 64; continue;
120478
- /* if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { */ case 63:
120479
- $r = sc.shutDownIn(http2goAwayTimeout); /* */ $s = 65; case 65: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120480
- /* } */ case 64:
120639
+ /* */ if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { $s = 69; continue; }
120640
+ /* */ $s = 70; continue;
120641
+ /* if (sentGoAway && sc.shutdownTimer === ptrType$57.nil && (!((sc.goAwayCode === 0)) || gracefulShutdownComplete)) { */ case 69:
120642
+ $r = sc.shutDownIn(http2goAwayTimeout); /* */ $s = 71; case 71: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
120643
+ /* } */ case 70:
120481
120644
  /* } */ $s = 17; continue; case 18:
120482
120645
  $s = -1; return;
120483
- /* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: http2serverConn.ptr.prototype.serve }; } $f._1 = _1; $f._arg = _arg; $f._arg$1 = _arg$1; $f._arg$2 = _arg$2; $f._arg$3 = _arg$3; $f._arg$4 = _arg$4; $f._arg$5 = _arg$5; $f._arg$6 = _arg$6; $f._arg$7 = _arg$7; $f._r$10 = _r$10; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._r$5 = _r$5; $f._r$6 = _r$6; $f._r$7 = _r$7; $f._r$8 = _r$8; $f._r$9 = _r$9; $f._ref = _ref; $f._selection = _selection; $f._tuple = _tuple; $f._v = _v; $f.diff = diff; $f.err = err; $f.gracefulShutdownComplete = gracefulShutdownComplete; $f.loopNum = loopNum; $f.m = m; $f.msg = msg; $f.ok = ok; $f.res = res; $f.res$1 = res$1; $f.sc = sc; $f.se = se; $f.sentGoAway = sentGoAway; $f.settingsTimer = settingsTimer; $f.v = v; $f.v$1 = v$1; $f.v$2 = v$2; $f.v$3 = v$3; $f.wr = wr; $f.x$4 = x$4; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
120646
+ /* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: http2serverConn.ptr.prototype.serve }; } $f._1 = _1; $f._arg = _arg; $f._arg$1 = _arg$1; $f._arg$2 = _arg$2; $f._arg$3 = _arg$3; $f._arg$4 = _arg$4; $f._arg$5 = _arg$5; $f._arg$6 = _arg$6; $f._arg$7 = _arg$7; $f._r$10 = _r$10; $f._r$2 = _r$2; $f._r$3 = _r$3; $f._r$4 = _r$4; $f._r$5 = _r$5; $f._r$6 = _r$6; $f._r$7 = _r$7; $f._r$8 = _r$8; $f._r$9 = _r$9; $f._ref = _ref; $f._selection = _selection; $f._selection$1 = _selection$1; $f._tuple = _tuple; $f._v = _v; $f.diff = diff; $f.err = err; $f.gracefulShutdownComplete = gracefulShutdownComplete; $f.loopNum = loopNum; $f.m = m; $f.msg = msg; $f.ok = ok; $f.res = res; $f.res$1 = res$1; $f.sc = sc; $f.se = se; $f.sentGoAway = sentGoAway; $f.settingsTimer = settingsTimer; $f.v = v; $f.v$1 = v$1; $f.v$2 = v$2; $f.v$3 = v$3; $f.wr = wr; $f.wroteRes = wroteRes; $f.x$4 = x$4; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
120484
120647
  };
120485
120648
  http2serverConn.prototype.serve = function() { return this.$val.serve(); };
120486
120649
  http2serverConn.ptr.prototype.onSettingsTimer = function() {
@@ -121321,11 +121484,11 @@ $packages["net/http"] = (function() {
121321
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:
121322
121485
  sc = this;
121323
121486
  $r = sc.serveG.check(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
121324
- if (sc.inGoAway && !((sc.goAwayCode === 0))) {
121487
+ id = $clone(f.http2FrameHeader, http2FrameHeader).Header().StreamID;
121488
+ if (sc.inGoAway && (!((sc.goAwayCode === 0)) || id > sc.maxClientStreamID)) {
121325
121489
  $s = -1; return $ifaceNil;
121326
121490
  }
121327
121491
  data = f.Data();
121328
- id = $clone(f.http2FrameHeader, http2FrameHeader).Header().StreamID;
121329
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; }
121330
121493
  _tuple = _r$2;
121331
121494
  state = _tuple[0];
@@ -122524,8 +122687,8 @@ $packages["net/http"] = (function() {
122524
122687
  };
122525
122688
  http2responseWriter.prototype.handlerDone = function() { return this.$val.handlerDone(); };
122526
122689
  http2responseWriter.ptr.prototype.Push = function(target, opts) {
122527
- var _1, _entry, _i, _keys, _r$10, _r$11, _r$12, _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;
122528
- /* */ $s = 0; var $f, $c = false; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; _1 = $f._1; _entry = $f._entry; _i = $f._i; _keys = $f._keys; _r$10 = $f._r$10; _r$11 = $f._r$11; _r$12 = $f._r$12; _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:
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:
122529
122692
  w = this;
122530
122693
  st = w.rws.stream;
122531
122694
  sc = st.sc;
@@ -122593,44 +122756,41 @@ $packages["net/http"] = (function() {
122593
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; }
122594
122757
  $s = -1; return _r$5;
122595
122758
  /* } */ case 15:
122596
- _r$6 = strings.ToLower(k); /* */ $s = 18; case 18: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
122597
- _1 = _r$6;
122598
- /* */ if (_1 === ("content-length") || _1 === ("content-encoding") || _1 === ("trailer") || _1 === ("te") || _1 === ("expect") || _1 === ("host")) { $s = 19; continue; }
122599
- /* */ $s = 20; continue;
122600
- /* if (_1 === ("content-length") || _1 === ("content-encoding") || _1 === ("trailer") || _1 === ("te") || _1 === ("expect") || _1 === ("host")) { */ case 19:
122601
- _r$7 = fmt.Errorf("promised request headers cannot include %q", new sliceType([new $String(k)])); /* */ $s = 21; case 21: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
122602
- $s = -1; return _r$7;
122603
- /* } */ case 20:
122604
- 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:
122605
122765
  _i++;
122606
122766
  /* } */ $s = 12; continue; case 13:
122607
- _r$8 = http2checkValidHTTP2RequestHeaders(opts.Header); /* */ $s = 22; case 22: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
122608
- err$1 = _r$8;
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;
122609
122769
  if (!($interfaceIsEqual(err$1, $ifaceNil))) {
122610
122770
  $s = -1; return err$1;
122611
122771
  }
122612
- /* */ if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { $s = 23; continue; }
122613
- /* */ $s = 24; continue;
122614
- /* if (!(opts.Method === "GET") && !(opts.Method === "HEAD")) { */ case 23:
122615
- _r$9 = fmt.Errorf("method %q must be GET or HEAD", new sliceType([new $String(opts.Method)])); /* */ $s = 25; case 25: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
122616
- $s = -1; return _r$9;
122617
- /* } */ case 24:
122618
- _r$10 = http2errChanPool.Get(); /* */ $s = 26; case 26: if($c) { $c = false; _r$10 = _r$10.$blk(); } if (_r$10 && _r$10.$blk !== undefined) { break s; }
122619
- msg = new http2startPushRequest.ptr(st, opts.Method, u, http2cloneHeader(opts.Header), $assertType(_r$10, chanType));
122620
- _r$11 = $select([[sc.doneServing], [st.cw], [sc.serveMsgCh, msg]]); /* */ $s = 27; case 27: if($c) { $c = false; _r$11 = _r$11.$blk(); } if (_r$11 && _r$11.$blk !== undefined) { break s; }
122621
- _selection = _r$11;
122622
- /* */ if (_selection[0] === 0) { $s = 28; continue; }
122623
- /* */ if (_selection[0] === 1) { $s = 29; continue; }
122624
- /* */ if (_selection[0] === 2) { $s = 30; continue; }
122625
- /* */ $s = 31; continue;
122626
- /* if (_selection[0] === 0) { */ case 28:
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:
122627
122787
  $s = -1; return http2errClientDisconnected;
122628
- /* } else if (_selection[0] === 1) { */ case 29:
122788
+ /* } else if (_selection[0] === 1) { */ case 27:
122629
122789
  $s = -1; return http2errStreamClosed;
122630
- /* } else if (_selection[0] === 2) { */ case 30:
122631
- /* } */ case 31:
122632
- _r$12 = $select([[sc.doneServing], [st.cw], [msg.done]]); /* */ $s = 32; case 32: if($c) { $c = false; _r$12 = _r$12.$blk(); } if (_r$12 && _r$12.$blk !== undefined) { break s; }
122633
- _selection$1 = _r$12;
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;
122634
122794
  if (_selection$1[0] === 0) {
122635
122795
  $s = -1; return http2errClientDisconnected;
122636
122796
  } else if (_selection$1[0] === 1) {
@@ -122641,7 +122801,7 @@ $packages["net/http"] = (function() {
122641
122801
  $s = -1; return err$2;
122642
122802
  }
122643
122803
  $s = -1; return $ifaceNil;
122644
- /* */ } return; } if ($f === undefined) { $f = { $blk: http2responseWriter.ptr.prototype.Push }; } $f._1 = _1; $f._entry = _entry; $f._i = _i; $f._keys = _keys; $f._r$10 = _r$10; $f._r$11 = _r$11; $f._r$12 = _r$12; $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;
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;
122645
122805
  };
122646
122806
  http2responseWriter.prototype.Push = function(target, opts) { return this.$val.Push(target, opts); };
122647
122807
  http2serverConn.ptr.prototype.startPush = function(msg) {
@@ -123134,8 +123294,8 @@ $packages["net/http"] = (function() {
123134
123294
  };
123135
123295
  http2writeWindowUpdate.prototype.writeFrame = function(ctx) { return this.$val.writeFrame(ctx); };
123136
123296
  http2encodeHeaders = function(enc, h, keys) {
123137
- 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;
123138
- /* */ $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);
123139
123299
  /* */ if (keys === sliceType$2.nil) { $s = 1; continue; }
123140
123300
  /* */ $s = 2; continue;
123141
123301
  /* if (keys === sliceType$2.nil) { */ case 1:
@@ -123152,38 +123312,46 @@ $packages["net/http"] = (function() {
123152
123312
  k = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
123153
123313
  vv = (_entry = h[$String.keyFor(k)], _entry !== undefined ? _entry.v : sliceType$2.nil);
123154
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; }
123155
- k = _r$4;
123156
- /* */ if (!http2validWireHeaderFieldName(k)) { $s = 8; continue; }
123315
+ _tuple = _r$4;
123316
+ k$1 = _tuple[0];
123317
+ ascii = _tuple[1];
123318
+ /* */ if (!ascii) { $s = 8; continue; }
123157
123319
  /* */ $s = 9; continue;
123158
- /* if (!http2validWireHeaderFieldName(k)) { */ case 8:
123320
+ /* if (!ascii) { */ case 8:
123159
123321
  _i++;
123160
123322
  /* continue; */ $s = 5; continue;
123161
123323
  /* } */ case 9:
123162
- isTE = k === "transfer-encoding";
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";
123163
123331
  _ref$1 = vv;
123164
123332
  _i$1 = 0;
123165
- /* while (true) { */ case 10:
123166
- /* if (!(_i$1 < _ref$1.$length)) { break; } */ if(!(_i$1 < _ref$1.$length)) { $s = 11; continue; }
123333
+ /* while (true) { */ case 12:
123334
+ /* if (!(_i$1 < _ref$1.$length)) { break; } */ if(!(_i$1 < _ref$1.$length)) { $s = 13; continue; }
123167
123335
  v = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
123168
- /* */ if (!httpguts.ValidHeaderFieldValue(v)) { $s = 12; continue; }
123169
- /* */ $s = 13; continue;
123170
- /* if (!httpguts.ValidHeaderFieldValue(v)) { */ case 12:
123171
- _i$1++;
123172
- /* continue; */ $s = 10; continue;
123173
- /* } */ case 13:
123174
- /* */ if (isTE && !(v === "trailers")) { $s = 14; continue; }
123336
+ /* */ if (!httpguts.ValidHeaderFieldValue(v)) { $s = 14; continue; }
123175
123337
  /* */ $s = 15; continue;
123176
- /* if (isTE && !(v === "trailers")) { */ case 14:
123338
+ /* if (!httpguts.ValidHeaderFieldValue(v)) { */ case 14:
123177
123339
  _i$1++;
123178
- /* continue; */ $s = 10; continue;
123340
+ /* continue; */ $s = 12; continue;
123179
123341
  /* } */ case 15:
123180
- $r = http2encKV(enc, k, v); /* */ $s = 16; case 16: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
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; }
123181
123349
  _i$1++;
123182
- /* } */ $s = 10; continue; case 11:
123350
+ /* } */ $s = 12; continue; case 13:
123183
123351
  _i++;
123184
123352
  /* } */ $s = 5; continue; case 6:
123185
123353
  $s = -1; return;
123186
- /* */ } 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; } }
123187
123355
  };
123188
123356
  http2FrameWriteRequest.ptr.prototype.StreamID = function() {
123189
123357
  var _tuple, ok, se, wr;
@@ -123362,16 +123530,16 @@ $packages["net/http"] = (function() {
123362
123530
  }
123363
123531
  x$4 = ln - 1 >> 0;
123364
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]));
123365
- (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$80.nil));
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));
123366
123534
  p.$set($subslice((p.$get()), 0, x$4));
123367
123535
  return q;
123368
123536
  };
123369
123537
  http2NewPriorityWriteScheduler = function(cfg) {
123370
123538
  var _key, cfg, ws;
123371
- if (cfg === ptrType$81.nil) {
123539
+ if (cfg === ptrType$82.nil) {
123372
123540
  cfg = new http2PriorityWriteSchedulerConfig.ptr(10, 10, false);
123373
123541
  }
123374
- 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$82.nil, ptrType$82.nil, ptrType$82.nil, ptrType$82.nil), {}, 0, sliceType$25.nil, sliceType$25.nil, cfg.MaxClosedNodesInTree, cfg.MaxIdleNodesInTree, 0, cfg.ThrottleOutOfOrderWrites, sliceType$25.nil, http2writeQueuePool.nil);
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);
123375
123543
  _key = 0; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: ws.root };
123376
123544
  if (cfg.ThrottleOutOfOrderWrites) {
123377
123545
  ws.writeThrottleLimit = 1024;
@@ -123390,24 +123558,24 @@ $packages["net/http"] = (function() {
123390
123558
  return;
123391
123559
  }
123392
123560
  parent$1 = n.parent;
123393
- if (!(parent$1 === ptrType$82.nil)) {
123394
- if (n.prev === ptrType$82.nil) {
123561
+ if (!(parent$1 === ptrType$83.nil)) {
123562
+ if (n.prev === ptrType$83.nil) {
123395
123563
  parent$1.kids = n.next;
123396
123564
  } else {
123397
123565
  n.prev.next = n.next;
123398
123566
  }
123399
- if (!(n.next === ptrType$82.nil)) {
123567
+ if (!(n.next === ptrType$83.nil)) {
123400
123568
  n.next.prev = n.prev;
123401
123569
  }
123402
123570
  }
123403
123571
  n.parent = parent;
123404
- if (parent === ptrType$82.nil) {
123405
- n.next = ptrType$82.nil;
123406
- n.prev = ptrType$82.nil;
123572
+ if (parent === ptrType$83.nil) {
123573
+ n.next = ptrType$83.nil;
123574
+ n.prev = ptrType$83.nil;
123407
123575
  } else {
123408
123576
  n.next = parent.kids;
123409
- n.prev = ptrType$82.nil;
123410
- if (!(n.next === ptrType$82.nil)) {
123577
+ n.prev = ptrType$83.nil;
123578
+ if (!(n.next === ptrType$83.nil)) {
123411
123579
  n.next.prev = n;
123412
123580
  }
123413
123581
  parent.kids = n;
@@ -123419,7 +123587,7 @@ $packages["net/http"] = (function() {
123419
123587
  n = this;
123420
123588
  n.bytes = (x$4 = n.bytes, x$5 = b, new $Int64(x$4.$high + x$5.$high, x$4.$low + x$5.$low));
123421
123589
  while (true) {
123422
- if (!(!(n === ptrType$82.nil))) { break; }
123590
+ if (!(!(n === ptrType$83.nil))) { break; }
123423
123591
  n.subtreeBytes = (x$6 = n.subtreeBytes, x$7 = b, new $Int64(x$6.$high + x$7.$high, x$6.$low + x$7.$low));
123424
123592
  n = n.parent;
123425
123593
  }
@@ -123437,7 +123605,7 @@ $packages["net/http"] = (function() {
123437
123605
  /* if (_v) { */ case 1:
123438
123606
  $s = -1; return true;
123439
123607
  /* } */ case 2:
123440
- if (n.kids === ptrType$82.nil) {
123608
+ if (n.kids === ptrType$83.nil) {
123441
123609
  $s = -1; return false;
123442
123610
  }
123443
123611
  if (!((n.id === 0))) {
@@ -123447,7 +123615,7 @@ $packages["net/http"] = (function() {
123447
123615
  needSort = false;
123448
123616
  k = n.kids.next;
123449
123617
  while (true) {
123450
- if (!(!(k === ptrType$82.nil))) { break; }
123618
+ if (!(!(k === ptrType$83.nil))) { break; }
123451
123619
  if (!((k.weight === w))) {
123452
123620
  needSort = true;
123453
123621
  break;
@@ -123459,7 +123627,7 @@ $packages["net/http"] = (function() {
123459
123627
  /* if (!needSort) { */ case 5:
123460
123628
  k$1 = n.kids;
123461
123629
  /* while (true) { */ case 7:
123462
- /* if (!(!(k$1 === ptrType$82.nil))) { break; } */ if(!(!(k$1 === ptrType$82.nil))) { $s = 8; continue; }
123630
+ /* if (!(!(k$1 === ptrType$83.nil))) { break; } */ if(!(!(k$1 === ptrType$83.nil))) { $s = 8; continue; }
123463
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; }
123464
123632
  /* */ if (_r$3) { $s = 9; continue; }
123465
123633
  /* */ $s = 10; continue;
@@ -123472,9 +123640,9 @@ $packages["net/http"] = (function() {
123472
123640
  /* } */ case 6:
123473
123641
  tmp.$set($subslice((tmp.$get()), 0, 0));
123474
123642
  while (true) {
123475
- if (!(!(n.kids === ptrType$82.nil))) { break; }
123643
+ if (!(!(n.kids === ptrType$83.nil))) { break; }
123476
123644
  tmp.$set($append(tmp.$get(), n.kids));
123477
- n.kids.setParent(ptrType$82.nil);
123645
+ n.kids.setParent(ptrType$83.nil);
123478
123646
  }
123479
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; }
123480
123648
  i = tmp.$get().$length - 1 >> 0;
@@ -123485,7 +123653,7 @@ $packages["net/http"] = (function() {
123485
123653
  }
123486
123654
  k$2 = n.kids;
123487
123655
  /* while (true) { */ case 13:
123488
- /* if (!(!(k$2 === ptrType$82.nil))) { break; } */ if(!(!(k$2 === ptrType$82.nil))) { $s = 14; continue; }
123656
+ /* if (!(!(k$2 === ptrType$83.nil))) { break; } */ if(!(!(k$2 === ptrType$83.nil))) { $s = 14; continue; }
123489
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; }
123490
123658
  /* */ if (_r$4) { $s = 15; continue; }
123491
123659
  /* */ $s = 16; continue;
@@ -123537,10 +123705,10 @@ $packages["net/http"] = (function() {
123537
123705
  var _entry, _entry$1, _key, _r$2, curr, n, options, parent, streamID, ws, $s, $r;
123538
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:
123539
123707
  ws = this;
123540
- curr = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$82.nil);
123541
- /* */ if (!(curr === ptrType$82.nil)) { $s = 1; continue; }
123708
+ curr = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil);
123709
+ /* */ if (!(curr === ptrType$83.nil)) { $s = 1; continue; }
123542
123710
  /* */ $s = 2; continue;
123543
- /* if (!(curr === ptrType$82.nil)) { */ case 1:
123711
+ /* if (!(curr === ptrType$83.nil)) { */ case 1:
123544
123712
  /* */ if (!((curr.state === 2))) { $s = 3; continue; }
123545
123713
  /* */ $s = 4; continue;
123546
123714
  /* if (!((curr.state === 2))) { */ case 3:
@@ -123550,11 +123718,11 @@ $packages["net/http"] = (function() {
123550
123718
  curr.state = 0;
123551
123719
  $s = -1; return;
123552
123720
  /* } */ case 2:
123553
- parent = (_entry$1 = ws.nodes[$Uint32.keyFor(options.PusherID)], _entry$1 !== undefined ? _entry$1.v : ptrType$82.nil);
123554
- if (parent === ptrType$82.nil) {
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) {
123555
123723
  parent = ws.root;
123556
123724
  }
123557
- n = new http2priorityNode.ptr($clone((ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$83(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$82.nil, ptrType$82.nil, ptrType$82.nil, ptrType$82.nil);
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);
123558
123726
  n.setParent(parent);
123559
123727
  _key = streamID; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: n };
123560
123728
  if (streamID > ws.maxID) {
@@ -123572,26 +123740,26 @@ $packages["net/http"] = (function() {
123572
123740
  if (streamID === 0) {
123573
123741
  $panic(new $String("violation of WriteScheduler interface: cannot close stream 0"));
123574
123742
  }
123575
- /* */ if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$82.nil) === ptrType$82.nil) { $s = 1; continue; }
123743
+ /* */ if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil) === ptrType$83.nil) { $s = 1; continue; }
123576
123744
  /* */ $s = 2; continue;
123577
- /* if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$82.nil) === ptrType$82.nil) { */ case 1:
123745
+ /* if ((_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil) === ptrType$83.nil) { */ case 1:
123578
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; }
123579
123747
  $panic(new $String(_r$2));
123580
123748
  /* } */ case 2:
123581
- /* */ if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$82.nil).state === 0))) { $s = 4; continue; }
123749
+ /* */ if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$83.nil).state === 0))) { $s = 4; continue; }
123582
123750
  /* */ $s = 5; continue;
123583
- /* if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$82.nil).state === 0))) { */ case 4:
123751
+ /* if (!(((_entry$1 = ws.nodes[$Uint32.keyFor(streamID)], _entry$1 !== undefined ? _entry$1.v : ptrType$83.nil).state === 0))) { */ case 4:
123584
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; }
123585
123753
  $panic(new $String(_r$3));
123586
123754
  /* } */ case 5:
123587
- n = (_entry$2 = ws.nodes[$Uint32.keyFor(streamID)], _entry$2 !== undefined ? _entry$2.v : ptrType$82.nil);
123755
+ n = (_entry$2 = ws.nodes[$Uint32.keyFor(streamID)], _entry$2 !== undefined ? _entry$2.v : ptrType$83.nil);
123588
123756
  n.state = 1;
123589
123757
  n.addBytes((x$4 = n.bytes, new $Int64(-x$4.$high, -x$4.$low)));
123590
123758
  q[0] = $clone(n.q, http2writeQueue);
123591
- (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$83(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q[0]);
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]);
123592
123760
  n.q.s = sliceType$24.nil;
123593
123761
  if (ws.maxClosedNodesInTree > 0) {
123594
- ws.addClosedOrIdleNode((ws.$ptr_closedNodes || (ws.$ptr_closedNodes = new ptrType$84(function() { return this.$target.closedNodes; }, function($v) { this.$target.closedNodes = $v; }, ws))), ws.maxClosedNodesInTree, n);
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);
123595
123763
  } else {
123596
123764
  ws.removeNode(n);
123597
123765
  }
@@ -123605,19 +123773,19 @@ $packages["net/http"] = (function() {
123605
123773
  if (streamID === 0) {
123606
123774
  $panic(new $String("adjustPriority on root"));
123607
123775
  }
123608
- n = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$82.nil);
123609
- if (n === ptrType$82.nil) {
123776
+ n = (_entry = ws.nodes[$Uint32.keyFor(streamID)], _entry !== undefined ? _entry.v : ptrType$83.nil);
123777
+ if (n === ptrType$83.nil) {
123610
123778
  if (streamID <= ws.maxID || (ws.maxIdleNodesInTree === 0)) {
123611
123779
  return;
123612
123780
  }
123613
123781
  ws.maxID = streamID;
123614
- n = new http2priorityNode.ptr($clone((ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$83(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$82.nil, ptrType$82.nil, ptrType$82.nil, ptrType$82.nil);
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);
123615
123783
  n.setParent(ws.root);
123616
123784
  _key = streamID; (ws.nodes || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: n };
123617
- ws.addClosedOrIdleNode((ws.$ptr_idleNodes || (ws.$ptr_idleNodes = new ptrType$84(function() { return this.$target.idleNodes; }, function($v) { this.$target.idleNodes = $v; }, ws))), ws.maxIdleNodesInTree, n);
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);
123618
123786
  }
123619
- parent = (_entry$1 = ws.nodes[$Uint32.keyFor(priority.StreamDep)], _entry$1 !== undefined ? _entry$1.v : ptrType$82.nil);
123620
- if (parent === ptrType$82.nil) {
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) {
123621
123789
  n.setParent(ws.root);
123622
123790
  n.weight = 15;
123623
123791
  return;
@@ -123627,7 +123795,7 @@ $packages["net/http"] = (function() {
123627
123795
  }
123628
123796
  x$4 = parent.parent;
123629
123797
  while (true) {
123630
- if (!(!(x$4 === ptrType$82.nil))) { break; }
123798
+ if (!(!(x$4 === ptrType$83.nil))) { break; }
123631
123799
  if (x$4 === n) {
123632
123800
  parent.setParent(n.parent);
123633
123801
  break;
@@ -123637,7 +123805,7 @@ $packages["net/http"] = (function() {
123637
123805
  if (priority.Exclusive) {
123638
123806
  k = parent.kids;
123639
123807
  while (true) {
123640
- if (!(!(k === ptrType$82.nil))) { break; }
123808
+ if (!(!(k === ptrType$83.nil))) { break; }
123641
123809
  next = k.next;
123642
123810
  if (!(k === n)) {
123643
123811
  k.setParent(n);
@@ -123652,13 +123820,13 @@ $packages["net/http"] = (function() {
123652
123820
  http2priorityWriteScheduler.ptr.prototype.Push = function(wr) {
123653
123821
  var _entry, id, n, wr, ws;
123654
123822
  ws = this;
123655
- n = ptrType$82.nil;
123823
+ n = ptrType$83.nil;
123656
123824
  id = $clone(wr, http2FrameWriteRequest).StreamID();
123657
123825
  if (id === 0) {
123658
123826
  n = ws.root;
123659
123827
  } else {
123660
- n = (_entry = ws.nodes[$Uint32.keyFor(id)], _entry !== undefined ? _entry.v : ptrType$82.nil);
123661
- if (n === ptrType$82.nil) {
123828
+ n = (_entry = ws.nodes[$Uint32.keyFor(id)], _entry !== undefined ? _entry.v : ptrType$83.nil);
123829
+ if (n === ptrType$83.nil) {
123662
123830
  if ($clone(wr, http2FrameWriteRequest).DataSize() > 0) {
123663
123831
  $panic(new $String("add DATA on non-open stream"));
123664
123832
  }
@@ -123677,7 +123845,7 @@ $packages["net/http"] = (function() {
123677
123845
  wr[0] = new http2FrameWriteRequest.ptr($ifaceNil, ptrType$5.nil, $chanNil);
123678
123846
  ok[0] = false;
123679
123847
  ws[0] = this;
123680
- _r$2 = ws[0].root.walkReadyInOrder(false, (ws[0].$ptr_tmp || (ws[0].$ptr_tmp = new ptrType$84(function() { return this.$target.tmp; }, function($v) { this.$target.tmp = $v; }, ws[0]))), (function(ok, wr, ws) { return function(n, openParent) {
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) {
123681
123849
  var _tuple, limit, n, openParent;
123682
123850
  limit = 2147483647;
123683
123851
  if (openParent) {
@@ -123729,11 +123897,11 @@ $packages["net/http"] = (function() {
123729
123897
  ws = this;
123730
123898
  k = n.kids;
123731
123899
  while (true) {
123732
- if (!(!(k === ptrType$82.nil))) { break; }
123900
+ if (!(!(k === ptrType$83.nil))) { break; }
123733
123901
  k.setParent(n.parent);
123734
123902
  k = k.next;
123735
123903
  }
123736
- n.setParent(ptrType$82.nil);
123904
+ n.setParent(ptrType$83.nil);
123737
123905
  delete ws.nodes[$Uint32.keyFor(n.id)];
123738
123906
  };
123739
123907
  http2priorityWriteScheduler.prototype.removeNode = function(n) { return this.$val.removeNode(n); };
@@ -123748,14 +123916,14 @@ $packages["net/http"] = (function() {
123748
123916
  http2randomWriteScheduler.ptr.prototype.CloseStream = function(streamID) {
123749
123917
  var _entry, _tuple, ok, q, streamID, ws;
123750
123918
  ws = this;
123751
- _tuple = (_entry = ws.sq[$Uint32.keyFor(streamID)], _entry !== undefined ? [_entry.v, true] : [ptrType$80.nil, false]);
123919
+ _tuple = (_entry = ws.sq[$Uint32.keyFor(streamID)], _entry !== undefined ? [_entry.v, true] : [ptrType$81.nil, false]);
123752
123920
  q = _tuple[0];
123753
123921
  ok = _tuple[1];
123754
123922
  if (!ok) {
123755
123923
  return;
123756
123924
  }
123757
123925
  delete ws.sq[$Uint32.keyFor(streamID)];
123758
- (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$83(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q);
123926
+ (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q);
123759
123927
  };
123760
123928
  http2randomWriteScheduler.prototype.CloseStream = function(streamID) { return this.$val.CloseStream(streamID); };
123761
123929
  http2randomWriteScheduler.ptr.prototype.AdjustStream = function(streamID, priority) {
@@ -123771,11 +123939,11 @@ $packages["net/http"] = (function() {
123771
123939
  ws.zero.push($clone(wr, http2FrameWriteRequest));
123772
123940
  return;
123773
123941
  }
123774
- _tuple = (_entry = ws.sq[$Uint32.keyFor(id)], _entry !== undefined ? [_entry.v, true] : [ptrType$80.nil, false]);
123942
+ _tuple = (_entry = ws.sq[$Uint32.keyFor(id)], _entry !== undefined ? [_entry.v, true] : [ptrType$81.nil, false]);
123775
123943
  q = _tuple[0];
123776
123944
  ok = _tuple[1];
123777
123945
  if (!ok) {
123778
- q = (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$83(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).get();
123946
+ q = (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).get();
123779
123947
  _key = id; (ws.sq || $throwRuntimeError("assignment to entry in nil map"))[$Uint32.keyFor(_key)] = { k: _key, v: q };
123780
123948
  }
123781
123949
  q.push($clone(wr, http2FrameWriteRequest));
@@ -123805,7 +123973,7 @@ $packages["net/http"] = (function() {
123805
123973
  if (ok) {
123806
123974
  if (q.empty()) {
123807
123975
  delete ws.sq[$Uint32.keyFor(streamID)];
123808
- (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$83(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q);
123976
+ (ws.$ptr_queuePool || (ws.$ptr_queuePool = new ptrType$84(function() { return this.$target.queuePool; }, function($v) { this.$target.queuePool = $v; }, ws))).put(q);
123809
123977
  }
123810
123978
  return [wr, true];
123811
123979
  }
@@ -123977,10 +124145,10 @@ $packages["net/http"] = (function() {
123977
124145
  var _entry, _entry$1, _i, _keys, _r$2, _ref, _tmp, _tmp$1, exclude, h, hs, k, kvs, vv, $s, $r;
123978
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:
123979
124147
  kvs = sliceType$5.nil;
123980
- hs = ptrType$85.nil;
124148
+ hs = ptrType$86.nil;
123981
124149
  h = this.$val;
123982
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; }
123983
- hs = $assertType(_r$2, ptrType$85);
124151
+ hs = $assertType(_r$2, ptrType$86);
123984
124152
  if (hs.kvs.$capacity < $keys(h).length) {
123985
124153
  hs.kvs = $makeSlice(sliceType$5, 0, $keys(h).length);
123986
124154
  }
@@ -124345,10 +124513,10 @@ $packages["net/http"] = (function() {
124345
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:
124346
124514
  r = this;
124347
124515
  if (r.MultipartForm === multipartByReader) {
124348
- $s = -1; return [ptrType$86.nil, errors.New("http: MultipartReader called twice")];
124516
+ $s = -1; return [ptrType$87.nil, errors.New("http: MultipartReader called twice")];
124349
124517
  }
124350
124518
  if (!(r.MultipartForm === ptrType$20.nil)) {
124351
- $s = -1; return [ptrType$86.nil, errors.New("http: multipart handled by ParseMultipartForm")];
124519
+ $s = -1; return [ptrType$87.nil, errors.New("http: multipart handled by ParseMultipartForm")];
124352
124520
  }
124353
124521
  r.MultipartForm = multipartByReader;
124354
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; }
@@ -124363,7 +124531,7 @@ $packages["net/http"] = (function() {
124363
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; }
124364
124532
  v = _r$2;
124365
124533
  if (v === "") {
124366
- $s = -1; return [ptrType$86.nil, $pkg.ErrNotMultipart];
124534
+ $s = -1; return [ptrType$87.nil, $pkg.ErrNotMultipart];
124367
124535
  }
124368
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; }
124369
124537
  _tuple = _r$3;
@@ -124371,13 +124539,13 @@ $packages["net/http"] = (function() {
124371
124539
  params = _tuple[1];
124372
124540
  err = _tuple[2];
124373
124541
  if (!($interfaceIsEqual(err, $ifaceNil)) || !(d === "multipart/form-data" || allowMixed && d === "multipart/mixed")) {
124374
- $s = -1; return [ptrType$86.nil, $pkg.ErrNotMultipart];
124542
+ $s = -1; return [ptrType$87.nil, $pkg.ErrNotMultipart];
124375
124543
  }
124376
124544
  _tuple$1 = (_entry = params[$String.keyFor("boundary")], _entry !== undefined ? [_entry.v, true] : ["", false]);
124377
124545
  boundary = _tuple$1[0];
124378
124546
  ok = _tuple$1[1];
124379
124547
  if (!ok) {
124380
- $s = -1; return [ptrType$86.nil, $pkg.ErrMissingBoundary];
124548
+ $s = -1; return [ptrType$87.nil, $pkg.ErrMissingBoundary];
124381
124549
  }
124382
124550
  $s = -1; return [multipart.NewReader(r.Body, boundary), $ifaceNil];
124383
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;
@@ -124862,7 +125030,7 @@ $packages["net/http"] = (function() {
124862
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; }
124863
125031
  v = _r$2;
124864
125032
  if (!($interfaceIsEqual(v, $ifaceNil))) {
124865
- tr = $assertType(v, ptrType$89);
125033
+ tr = $assertType(v, ptrType$90);
124866
125034
  tr.R = br;
124867
125035
  $s = -1; return tr;
124868
125036
  }
@@ -124872,7 +125040,7 @@ $packages["net/http"] = (function() {
124872
125040
  };
124873
125041
  putTextprotoReader = function(r) {
124874
125042
  var r;
124875
- r.R = ptrType$75.nil;
125043
+ r.R = ptrType$77.nil;
124876
125044
  textprotoReaderPool.Put(r);
124877
125045
  };
124878
125046
  readRequest = function(b, deleteHostHeader) {
@@ -125116,7 +125284,7 @@ $packages["net/http"] = (function() {
125116
125284
  /* if (ct === "application/x-www-form-urlencoded") { */ case 4:
125117
125285
  reader = r.Body;
125118
125286
  maxFormSize = new $Int64(2147483647, 4294967295);
125119
- _tuple$1 = $assertType(r.Body, ptrType$90, true);
125287
+ _tuple$1 = $assertType(r.Body, ptrType$91, true);
125120
125288
  ok = _tuple$1[1];
125121
125289
  if (!ok) {
125122
125290
  maxFormSize = new $Int64(0, 10485760);
@@ -125560,12 +125728,12 @@ $packages["net/http"] = (function() {
125560
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;
125561
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:
125562
125730
  rwc = $ifaceNil;
125563
- buf = ptrType$91.nil;
125731
+ buf = ptrType$92.nil;
125564
125732
  err = $ifaceNil;
125565
125733
  c = this;
125566
125734
  if (c.hijackedv) {
125567
125735
  _tmp = $ifaceNil;
125568
- _tmp$1 = ptrType$91.nil;
125736
+ _tmp$1 = ptrType$92.nil;
125569
125737
  _tmp$2 = $pkg.ErrHijacked;
125570
125738
  rwc = _tmp;
125571
125739
  buf = _tmp$1;
@@ -125588,7 +125756,7 @@ $packages["net/http"] = (function() {
125588
125756
  /* */ $s = 7; continue;
125589
125757
  /* if (!($interfaceIsEqual(err$1, $ifaceNil))) { */ case 6:
125590
125758
  _tmp$3 = $ifaceNil;
125591
- _tmp$4 = ptrType$91.nil;
125759
+ _tmp$4 = ptrType$92.nil;
125592
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; }
125593
125761
  _tmp$5 = _r$4;
125594
125762
  rwc = _tmp$3;
@@ -125750,17 +125918,17 @@ $packages["net/http"] = (function() {
125750
125918
  $ptrType(atomicBool).prototype.isSet = function() {
125751
125919
  var _ptr, b;
125752
125920
  b = this;
125753
- return !((atomic.LoadInt32(((_ptr = b, new ptrType$92(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target)))) === 0));
125921
+ return !((atomic.LoadInt32(((_ptr = b, new ptrType$93(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target)))) === 0));
125754
125922
  };
125755
125923
  $ptrType(atomicBool).prototype.setTrue = function() {
125756
125924
  var _ptr, b;
125757
125925
  b = this;
125758
- atomic.StoreInt32(((_ptr = b, new ptrType$92(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target))), 1);
125926
+ atomic.StoreInt32(((_ptr = b, new ptrType$93(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target))), 1);
125759
125927
  };
125760
125928
  $ptrType(atomicBool).prototype.setFalse = function() {
125761
125929
  var _ptr, b;
125762
125930
  b = this;
125763
- atomic.StoreInt32(((_ptr = b, new ptrType$92(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target))), 0);
125931
+ atomic.StoreInt32(((_ptr = b, new ptrType$93(function() { return (_ptr.$get() >> 0); }, function($v) { _ptr.$set(($v >> 0)); }, _ptr.$target))), 0);
125764
125932
  };
125765
125933
  response.ptr.prototype.declareTrailer = function(k) {
125766
125934
  var _r$2, _r$3, k, w, $s, $r;
@@ -125795,8 +125963,8 @@ $packages["net/http"] = (function() {
125795
125963
  };
125796
125964
  response.prototype.requestTooLarge = function() { return this.$val.requestTooLarge(); };
125797
125965
  response.ptr.prototype.ReadFrom = function(src) {
125798
- var _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _tmp, _tmp$1, _tmp$2, _tmp$3, _tmp$4, _tmp$5, _tuple, _tuple$1, _tuple$2, _tuple$3, _tuple$4, _tuple$5, atEOF, buf, bufp, er, err, err$1, ew, n, n0, n0$1, nr, nw, ok, rf, src, w, x$10, x$4, x$5, x$6, x$7, x$8, x$9, $s, $deferred, $r;
125799
- /* */ $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; _r$8 = $f._r$8; _r$9 = $f._r$9; _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; _tuple$1 = $f._tuple$1; _tuple$2 = $f._tuple$2; _tuple$3 = $f._tuple$3; _tuple$4 = $f._tuple$4; _tuple$5 = $f._tuple$5; atEOF = $f.atEOF; buf = $f.buf; bufp = $f.bufp; er = $f.er; err = $f.err; err$1 = $f.err$1; ew = $f.ew; n = $f.n; n0 = $f.n0; n0$1 = $f.n0$1; nr = $f.nr; nw = $f.nw; ok = $f.ok; rf = $f.rf; src = $f.src; w = $f.w; x$10 = $f.x$10; 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; $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);
125966
+ var _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _tmp, _tmp$1, _tmp$2, _tmp$3, _tmp$4, _tmp$5, _tuple, _tuple$1, _tuple$2, _tuple$3, _tuple$4, buf, bufp, err, err$1, err$2, n, n0, n0$1, n0$2, ok, rf, src, w, x$10, x$11, x$4, x$5, x$6, x$7, x$8, x$9, $s, $deferred, $r;
125967
+ /* */ $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; _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; _tuple$1 = $f._tuple$1; _tuple$2 = $f._tuple$2; _tuple$3 = $f._tuple$3; _tuple$4 = $f._tuple$4; buf = $f.buf; bufp = $f.bufp; err = $f.err; err$1 = $f.err$1; err$2 = $f.err$2; n = $f.n; n0 = $f.n0; n0$1 = $f.n0$1; n0$2 = $f.n0$2; ok = $f.ok; rf = $f.rf; src = $f.src; w = $f.w; x$10 = $f.x$10; x$11 = $f.x$11; 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; $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);
125800
125968
  n = new $Int64(0, 0);
125801
125969
  err = $ifaceNil;
125802
125970
  w = this;
@@ -125816,77 +125984,58 @@ $packages["net/http"] = (function() {
125816
125984
  err = _tuple$1[1];
125817
125985
  $s = -1; return [n, err];
125818
125986
  /* } */ case 3:
125819
- _r$4 = src.Read($subslice(buf, 0, 512)); /* */ $s = 5; case 5: if($c) { $c = false; _r$4 = _r$4.$blk(); } if (_r$4 && _r$4.$blk !== undefined) { break s; }
125820
- _tuple$2 = _r$4;
125821
- nr = _tuple$2[0];
125822
- er = _tuple$2[1];
125823
- _r$5 = errors.Is(er, io.EOF); /* */ $s = 6; case 6: if($c) { $c = false; _r$5 = _r$5.$blk(); } if (_r$5 && _r$5.$blk !== undefined) { break s; }
125824
- atEOF = _r$5;
125825
- n = (x$5 = (new $Int64(0, nr)), new $Int64(n.$high + x$5.$high, n.$low + x$5.$low));
125826
- /* */ if (nr > 0) { $s = 7; continue; }
125827
- /* */ $s = 8; continue;
125828
- /* if (nr > 0) { */ case 7:
125829
- _r$6 = w.Write($subslice(buf, 0, nr)); /* */ $s = 9; case 9: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
125830
- _tuple$3 = _r$6;
125831
- nw = _tuple$3[0];
125832
- ew = _tuple$3[1];
125833
- if (!($interfaceIsEqual(ew, $ifaceNil))) {
125834
- err = ew;
125835
- } else if (!((nr === nw))) {
125836
- err = io.ErrShortWrite;
125987
+ /* */ if (!w.cw.wroteHeader) { $s = 5; continue; }
125988
+ /* */ $s = 6; continue;
125989
+ /* if (!w.cw.wroteHeader) { */ case 5:
125990
+ _r$4 = io.CopyBuffer((x$5 = new writerOnly.ptr(w), new x$5.constructor.elem(x$5)), io.LimitReader(src, new $Int64(0, 512)), buf); /* */ $s = 7; case 7: if($c) { $c = false; _r$4 = _r$4.$blk(); } if (_r$4 && _r$4.$blk !== undefined) { break s; }
125991
+ _tuple$2 = _r$4;
125992
+ n0 = _tuple$2[0];
125993
+ err$1 = _tuple$2[1];
125994
+ n = (x$6 = n0, new $Int64(n.$high + x$6.$high, n.$low + x$6.$low));
125995
+ if (!($interfaceIsEqual(err$1, $ifaceNil)) || (n0.$high < 0 || (n0.$high === 0 && n0.$low < 512))) {
125996
+ _tmp = n;
125997
+ _tmp$1 = err$1;
125998
+ n = _tmp;
125999
+ err = _tmp$1;
126000
+ $s = -1; return [n, err];
125837
126001
  }
125838
- /* } */ case 8:
125839
- if ($interfaceIsEqual(err, $ifaceNil) && !($interfaceIsEqual(er, $ifaceNil)) && !atEOF) {
125840
- err = er;
125841
- }
125842
- /* */ if ($interfaceIsEqual(err, $ifaceNil) && !w.wroteHeader) { $s = 10; continue; }
126002
+ /* } */ case 6:
126003
+ _r$5 = w.w.Flush(); /* */ $s = 8; case 8: if($c) { $c = false; _r$5 = _r$5.$blk(); } if (_r$5 && _r$5.$blk !== undefined) { break s; }
126004
+ _r$5;
126005
+ $r = w.cw.flush(); /* */ $s = 9; case 9: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
126006
+ /* */ if (!w.cw.chunking && w.bodyAllowed()) { $s = 10; continue; }
125843
126007
  /* */ $s = 11; continue;
125844
- /* if ($interfaceIsEqual(err, $ifaceNil) && !w.wroteHeader) { */ case 10:
125845
- $r = w.WriteHeader(200); /* */ $s = 12; case 12: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
125846
- /* } */ case 11:
125847
- if (!($interfaceIsEqual(err, $ifaceNil)) || atEOF) {
125848
- _tmp = n;
125849
- _tmp$1 = err;
125850
- n = _tmp;
125851
- err = _tmp$1;
125852
- $s = -1; return [n, err];
125853
- }
125854
- _r$7 = w.w.Flush(); /* */ $s = 13; case 13: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
125855
- _r$7;
125856
- $r = w.cw.flush(); /* */ $s = 14; case 14: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
125857
- /* */ if (!w.cw.chunking && w.bodyAllowed()) { $s = 15; continue; }
125858
- /* */ $s = 16; continue;
125859
- /* if (!w.cw.chunking && w.bodyAllowed()) { */ case 15:
125860
- _r$8 = rf.ReadFrom(src); /* */ $s = 17; case 17: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
125861
- _tuple$4 = _r$8;
125862
- n0 = _tuple$4[0];
125863
- err$1 = _tuple$4[1];
125864
- n = (x$6 = n0, new $Int64(n.$high + x$6.$high, n.$low + x$6.$low));
125865
- w.written = (x$7 = w.written, x$8 = n0, new $Int64(x$7.$high + x$8.$high, x$7.$low + x$8.$low));
126008
+ /* if (!w.cw.chunking && w.bodyAllowed()) { */ case 10:
126009
+ _r$6 = rf.ReadFrom(src); /* */ $s = 12; case 12: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
126010
+ _tuple$3 = _r$6;
126011
+ n0$1 = _tuple$3[0];
126012
+ err$2 = _tuple$3[1];
126013
+ n = (x$7 = n0$1, new $Int64(n.$high + x$7.$high, n.$low + x$7.$low));
126014
+ w.written = (x$8 = w.written, x$9 = n0$1, new $Int64(x$8.$high + x$9.$high, x$8.$low + x$9.$low));
125866
126015
  _tmp$2 = n;
125867
- _tmp$3 = err$1;
126016
+ _tmp$3 = err$2;
125868
126017
  n = _tmp$2;
125869
126018
  err = _tmp$3;
125870
126019
  $s = -1; return [n, err];
125871
- /* } */ case 16:
125872
- _r$9 = io.Copy((x$9 = new writerOnly.ptr(w), new x$9.constructor.elem(x$9)), src); /* */ $s = 18; case 18: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
125873
- _tuple$5 = _r$9;
125874
- n0$1 = _tuple$5[0];
125875
- err = _tuple$5[1];
125876
- n = (x$10 = n0$1, new $Int64(n.$high + x$10.$high, n.$low + x$10.$low));
126020
+ /* } */ case 11:
126021
+ _r$7 = io.CopyBuffer((x$10 = new writerOnly.ptr(w), new x$10.constructor.elem(x$10)), src, buf); /* */ $s = 13; case 13: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
126022
+ _tuple$4 = _r$7;
126023
+ n0$2 = _tuple$4[0];
126024
+ err = _tuple$4[1];
126025
+ n = (x$11 = n0$2, new $Int64(n.$high + x$11.$high, n.$low + x$11.$low));
125877
126026
  _tmp$4 = n;
125878
126027
  _tmp$5 = err;
125879
126028
  n = _tmp$4;
125880
126029
  err = _tmp$5;
125881
126030
  $s = -1; return [n, err];
125882
- /* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if (!$curGoroutine.asleep) { return [n, err]; } if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: response.ptr.prototype.ReadFrom }; } $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._tmp = _tmp; $f._tmp$1 = _tmp$1; $f._tmp$2 = _tmp$2; $f._tmp$3 = _tmp$3; $f._tmp$4 = _tmp$4; $f._tmp$5 = _tmp$5; $f._tuple = _tuple; $f._tuple$1 = _tuple$1; $f._tuple$2 = _tuple$2; $f._tuple$3 = _tuple$3; $f._tuple$4 = _tuple$4; $f._tuple$5 = _tuple$5; $f.atEOF = atEOF; $f.buf = buf; $f.bufp = bufp; $f.er = er; $f.err = err; $f.err$1 = err$1; $f.ew = ew; $f.n = n; $f.n0 = n0; $f.n0$1 = n0$1; $f.nr = nr; $f.nw = nw; $f.ok = ok; $f.rf = rf; $f.src = src; $f.w = w; $f.x$10 = x$10; $f.x$4 = x$4; $f.x$5 = x$5; $f.x$6 = x$6; $f.x$7 = x$7; $f.x$8 = x$8; $f.x$9 = x$9; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
126031
+ /* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if (!$curGoroutine.asleep) { return [n, err]; } if($curGoroutine.asleep) { if ($f === undefined) { $f = { $blk: response.ptr.prototype.ReadFrom }; } $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._tmp = _tmp; $f._tmp$1 = _tmp$1; $f._tmp$2 = _tmp$2; $f._tmp$3 = _tmp$3; $f._tmp$4 = _tmp$4; $f._tmp$5 = _tmp$5; $f._tuple = _tuple; $f._tuple$1 = _tuple$1; $f._tuple$2 = _tuple$2; $f._tuple$3 = _tuple$3; $f._tuple$4 = _tuple$4; $f.buf = buf; $f.bufp = bufp; $f.err = err; $f.err$1 = err$1; $f.err$2 = err$2; $f.n = n; $f.n0 = n0; $f.n0$1 = n0$1; $f.n0$2 = n0$2; $f.ok = ok; $f.rf = rf; $f.src = src; $f.w = w; $f.x$10 = x$10; $f.x$11 = x$11; $f.x$4 = x$4; $f.x$5 = x$5; $f.x$6 = x$6; $f.x$7 = x$7; $f.x$8 = x$8; $f.x$9 = x$9; $f.$s = $s; $f.$deferred = $deferred; $f.$r = $r; return $f; } }
125883
126032
  };
125884
126033
  response.prototype.ReadFrom = function(src) { return this.$val.ReadFrom(src); };
125885
126034
  Server.ptr.prototype.newConn = function(rwc) {
125886
126035
  var _r$2, c, rwc, srv, $s, $r;
125887
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:
125888
126037
  srv = this;
125889
- c = new conn.ptr(srv, $throwNilPointerError, rwc, "", ptrType$21.nil, $ifaceNil, ptrType$93.nil, ptrType$75.nil, ptrType$9.nil, "", new atomic.Value.ptr($ifaceNil), new structType$2.ptr(new $Uint64(0, 0)), new sync.Mutex.ptr(0, 0), false);
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);
125890
126039
  /* */ if (false) { $s = 1; continue; }
125891
126040
  /* */ $s = 2; continue;
125892
126041
  /* if (false) { */ case 1:
@@ -125902,7 +126051,7 @@ $packages["net/http"] = (function() {
125902
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:
125903
126052
  cr = this;
125904
126053
  $r = cr.mu.Lock(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
125905
- if (cr.cond === ptrType$74.nil) {
126054
+ if (cr.cond === ptrType$73.nil) {
125906
126055
  cr.cond = sync.NewCond(cr.mu);
125907
126056
  }
125908
126057
  $s = -1; return;
@@ -126026,11 +126175,11 @@ $packages["net/http"] = (function() {
126026
126175
  var _tuple, cr, res, $s, $r;
126027
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:
126028
126177
  cr = this;
126029
- _tuple = $assertType(cr.conn.curReq.Load(), ptrType$94, true);
126178
+ _tuple = $assertType(cr.conn.curReq.Load(), ptrType$95, true);
126030
126179
  res = _tuple[0];
126031
- /* */ if (!(res === ptrType$94.nil) && atomic.CompareAndSwapInt32((res.$ptr_didCloseNotify || (res.$ptr_didCloseNotify = new ptrType$92(function() { return this.$target.didCloseNotify; }, function($v) { this.$target.didCloseNotify = $v; }, res))), 0, 1)) { $s = 1; continue; }
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; }
126032
126181
  /* */ $s = 2; continue;
126033
- /* if (!(res === ptrType$94.nil) && atomic.CompareAndSwapInt32((res.$ptr_didCloseNotify || (res.$ptr_didCloseNotify = new ptrType$92(function() { return this.$target.didCloseNotify; }, function($v) { this.$target.didCloseNotify = $v; }, res))), 0, 1)) { */ case 1:
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:
126034
126183
  $r = $send(res.closeNotifyCh, true); /* */ $s = 3; case 3: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
126035
126184
  /* } */ case 2:
126036
126185
  $s = -1; return;
@@ -126123,7 +126272,7 @@ $packages["net/http"] = (function() {
126123
126272
  } else if (_1 === (4096)) {
126124
126273
  return bufioWriter4kPool;
126125
126274
  }
126126
- return ptrType$95.nil;
126275
+ return ptrType$96.nil;
126127
126276
  };
126128
126277
  newBufioReader = function(r) {
126129
126278
  var _r$2, br, r, v, $s, $r;
@@ -126131,7 +126280,7 @@ $packages["net/http"] = (function() {
126131
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; }
126132
126281
  v = _r$2;
126133
126282
  if (!($interfaceIsEqual(v, $ifaceNil))) {
126134
- br = $assertType(v, ptrType$75);
126283
+ br = $assertType(v, ptrType$77);
126135
126284
  br.Reset(r);
126136
126285
  $s = -1; return br;
126137
126286
  }
@@ -126147,9 +126296,9 @@ $packages["net/http"] = (function() {
126147
126296
  var _r$2, bw, pool, size, v, w, $s, $r;
126148
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:
126149
126298
  pool = bufioWriterPool(size);
126150
- /* */ if (!(pool === ptrType$95.nil)) { $s = 1; continue; }
126299
+ /* */ if (!(pool === ptrType$96.nil)) { $s = 1; continue; }
126151
126300
  /* */ $s = 2; continue;
126152
- /* if (!(pool === ptrType$95.nil)) { */ case 1:
126301
+ /* if (!(pool === ptrType$96.nil)) { */ case 1:
126153
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; }
126154
126303
  v = _r$2;
126155
126304
  if (!($interfaceIsEqual(v, $ifaceNil))) {
@@ -126165,7 +126314,7 @@ $packages["net/http"] = (function() {
126165
126314
  var bw, pool;
126166
126315
  bw.Reset($ifaceNil);
126167
126316
  pool = bufioWriterPool(bw.Available());
126168
- if (!(pool === ptrType$95.nil)) {
126317
+ if (!(pool === ptrType$96.nil)) {
126169
126318
  pool.Put(bw);
126170
126319
  }
126171
126320
  };
@@ -126263,14 +126412,14 @@ $packages["net/http"] = (function() {
126263
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);
126264
126413
  c = [c];
126265
126414
  d = [d];
126266
- w = ptrType$94.nil;
126415
+ w = ptrType$95.nil;
126267
126416
  err = $ifaceNil;
126268
126417
  c[0] = this;
126269
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; }
126270
126419
  /* */ if (_r$2) { $s = 1; continue; }
126271
126420
  /* */ $s = 2; continue;
126272
126421
  /* if (_r$2) { */ case 1:
126273
- _tmp = ptrType$94.nil;
126422
+ _tmp = ptrType$95.nil;
126274
126423
  _tmp$1 = $pkg.ErrHijacked;
126275
126424
  w = _tmp;
126276
126425
  err = _tmp$1;
@@ -126318,20 +126467,20 @@ $packages["net/http"] = (function() {
126318
126467
  err = _tuple$1[1];
126319
126468
  if (!($interfaceIsEqual(err, $ifaceNil))) {
126320
126469
  if (c[0].r.hitReadLimit()) {
126321
- _tmp$2 = ptrType$94.nil;
126470
+ _tmp$2 = ptrType$95.nil;
126322
126471
  _tmp$3 = errTooLarge;
126323
126472
  w = _tmp$2;
126324
126473
  err = _tmp$3;
126325
126474
  $s = -1; return [w, err];
126326
126475
  }
126327
- _tmp$4 = ptrType$94.nil;
126476
+ _tmp$4 = ptrType$95.nil;
126328
126477
  _tmp$5 = err;
126329
126478
  w = _tmp$4;
126330
126479
  err = _tmp$5;
126331
126480
  $s = -1; return [w, err];
126332
126481
  }
126333
126482
  if (!http1ServerSupportsRequest(req)) {
126334
- _tmp$6 = ptrType$94.nil;
126483
+ _tmp$6 = ptrType$95.nil;
126335
126484
  _tmp$7 = (x$4 = new statusError.ptr(505, "unsupported protocol version"), new x$4.constructor.elem(x$4));
126336
126485
  w = _tmp$6;
126337
126486
  err = _tmp$7;
@@ -126344,21 +126493,21 @@ $packages["net/http"] = (function() {
126344
126493
  haveHost = _tuple$2[1];
126345
126494
  isH2Upgrade = req.isH2Upgrade();
126346
126495
  if (req.ProtoAtLeast(1, 1) && (!haveHost || (hosts.$length === 0)) && !isH2Upgrade && !(req.Method === "CONNECT")) {
126347
- _tmp$8 = ptrType$94.nil;
126496
+ _tmp$8 = ptrType$95.nil;
126348
126497
  _tmp$9 = badRequestError("missing required Host header");
126349
126498
  w = _tmp$8;
126350
126499
  err = _tmp$9;
126351
126500
  $s = -1; return [w, err];
126352
126501
  }
126353
126502
  if (hosts.$length > 1) {
126354
- _tmp$10 = ptrType$94.nil;
126503
+ _tmp$10 = ptrType$95.nil;
126355
126504
  _tmp$11 = badRequestError("too many Host headers");
126356
126505
  w = _tmp$10;
126357
126506
  err = _tmp$11;
126358
126507
  $s = -1; return [w, err];
126359
126508
  }
126360
126509
  if ((hosts.$length === 1) && !httpguts.ValidHostHeader((0 >= hosts.$length ? ($throwRuntimeError("index out of range"), undefined) : hosts.$array[hosts.$offset + 0]))) {
126361
- _tmp$12 = ptrType$94.nil;
126510
+ _tmp$12 = ptrType$95.nil;
126362
126511
  _tmp$13 = badRequestError("malformed Host header");
126363
126512
  w = _tmp$12;
126364
126513
  err = _tmp$13;
@@ -126377,7 +126526,7 @@ $packages["net/http"] = (function() {
126377
126526
  k = _entry$1.k;
126378
126527
  vv = _entry$1.v;
126379
126528
  if (!httpguts.ValidHeaderFieldName(k)) {
126380
- _tmp$14 = ptrType$94.nil;
126529
+ _tmp$14 = ptrType$95.nil;
126381
126530
  _tmp$15 = badRequestError("invalid header name");
126382
126531
  w = _tmp$14;
126383
126532
  err = _tmp$15;
@@ -126389,7 +126538,7 @@ $packages["net/http"] = (function() {
126389
126538
  if (!(_i$1 < _ref$1.$length)) { break; }
126390
126539
  v = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
126391
126540
  if (!httpguts.ValidHeaderFieldValue(v)) {
126392
- _tmp$16 = ptrType$94.nil;
126541
+ _tmp$16 = ptrType$95.nil;
126393
126542
  _tmp$17 = badRequestError("invalid header value");
126394
126543
  w = _tmp$16;
126395
126544
  err = _tmp$17;
@@ -126407,7 +126556,7 @@ $packages["net/http"] = (function() {
126407
126556
  req.ctx = ctx;
126408
126557
  req.RemoteAddr = c[0].remoteAddr;
126409
126558
  req.TLS = c[0].tlsState;
126410
- _tuple$4 = $assertType(req.Body, ptrType$96, true);
126559
+ _tuple$4 = $assertType(req.Body, ptrType$97, true);
126411
126560
  body$1 = _tuple$4[0];
126412
126561
  ok = _tuple$4[1];
126413
126562
  if (ok) {
@@ -126419,7 +126568,7 @@ $packages["net/http"] = (function() {
126419
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; }
126420
126569
  _r$8;
126421
126570
  /* } */ case 14:
126422
- 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$94.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);
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);
126423
126572
  if (isH2Upgrade) {
126424
126573
  w.closeAfterReply = true;
126425
126574
  }
@@ -126471,7 +126620,7 @@ $packages["net/http"] = (function() {
126471
126620
  pc = $makeSlice(sliceType$27, 16);
126472
126621
  n = runtime.Callers(1, pc);
126473
126622
  frames = runtime.CallersFrames($subslice(pc, 0, n));
126474
- frame = new runtime.Frame.ptr(0, ptrType$98.nil, "", "", 0, 0);
126623
+ frame = new runtime.Frame.ptr(0, ptrType$99.nil, "", "", 0, 0);
126475
126624
  while (true) {
126476
126625
  _tuple = frames.Next();
126477
126626
  frame$1 = $clone(_tuple[0], runtime.Frame);
@@ -126676,7 +126825,7 @@ $packages["net/http"] = (function() {
126676
126825
  if (new Header(header[0]).get("Connection") === "close" || !keepAlivesEnabled) {
126677
126826
  w.closeAfterReply = true;
126678
126827
  }
126679
- _tuple$1 = $assertType(w.req.Body, ptrType$99, true);
126828
+ _tuple$1 = $assertType(w.req.Body, ptrType$100, true);
126680
126829
  ecr = _tuple$1[0];
126681
126830
  ok = _tuple$1[1];
126682
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()) {
@@ -126690,16 +126839,16 @@ $packages["net/http"] = (function() {
126690
126839
  discard = _tmp;
126691
126840
  tooBig = _tmp$1;
126692
126841
  _ref$2 = w.req.Body;
126693
- /* */ if ($assertType(_ref$2, ptrType$99, true)[1]) { $s = 6; continue; }
126694
- /* */ if ($assertType(_ref$2, ptrType$96, true)[1]) { $s = 7; continue; }
126842
+ /* */ if ($assertType(_ref$2, ptrType$100, true)[1]) { $s = 6; continue; }
126843
+ /* */ if ($assertType(_ref$2, ptrType$97, true)[1]) { $s = 7; continue; }
126695
126844
  /* */ $s = 8; continue;
126696
- /* if ($assertType(_ref$2, ptrType$99, true)[1]) { */ case 6:
126845
+ /* if ($assertType(_ref$2, ptrType$100, true)[1]) { */ case 6:
126697
126846
  bdy = _ref$2.$val;
126698
126847
  if (bdy.resp.wroteContinue) {
126699
126848
  discard = true;
126700
126849
  }
126701
126850
  $s = 9; continue;
126702
- /* } else if ($assertType(_ref$2, ptrType$96, true)[1]) { */ case 7:
126851
+ /* } else if ($assertType(_ref$2, ptrType$97, true)[1]) { */ case 7:
126703
126852
  bdy$1 = _ref$2.$val;
126704
126853
  $r = bdy$1.mu.Lock(); /* */ $s = 10; case 10: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
126705
126854
  if (bdy$1.closed) {
@@ -127088,7 +127237,7 @@ $packages["net/http"] = (function() {
127088
127237
  var _r$2, _tuple, _v, body$1, ok, w, $s, $r;
127089
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:
127090
127239
  w = this;
127091
- _tuple = $assertType(w.req.Body, ptrType$96, true);
127240
+ _tuple = $assertType(w.req.Body, ptrType$97, true);
127092
127241
  body$1 = _tuple[0];
127093
127242
  ok = _tuple[1];
127094
127243
  if (!(ok)) { _v = false; $s = 1; continue s; }
@@ -127118,9 +127267,9 @@ $packages["net/http"] = (function() {
127118
127267
  var _r$2, c, $s, $r;
127119
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:
127120
127269
  c = this;
127121
- if (!(c.bufr === ptrType$75.nil)) {
127270
+ if (!(c.bufr === ptrType$77.nil)) {
127122
127271
  putBufioReader(c.bufr);
127123
- c.bufr = ptrType$75.nil;
127272
+ c.bufr = ptrType$77.nil;
127124
127273
  }
127125
127274
  /* */ if (!(c.bufw === ptrType$9.nil)) { $s = 1; continue; }
127126
127275
  /* */ $s = 2; continue;
@@ -127192,7 +127341,7 @@ $packages["net/http"] = (function() {
127192
127341
  $panic(new $String("internal error"));
127193
127342
  }
127194
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));
127195
- atomic.StoreUint64((x$7 = c.curState, (x$7.$ptr_atomic || (x$7.$ptr_atomic = new ptrType$100(function() { return this.$target.atomic; }, function($v) { this.$target.atomic = $v; }, x$7)))), packedState);
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);
127196
127345
  if (!runHook) {
127197
127346
  $s = -1; return;
127198
127347
  }
@@ -127211,7 +127360,7 @@ $packages["net/http"] = (function() {
127211
127360
  state = 0;
127212
127361
  unixSec = new $Int64(0, 0);
127213
127362
  c = this;
127214
- packedState = atomic.LoadUint64((x$4 = c.curState, (x$4.$ptr_atomic || (x$4.$ptr_atomic = new ptrType$100(function() { return this.$target.atomic; }, function($v) { this.$target.atomic = $v; }, x$4)))));
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)))));
127215
127364
  _tmp = ((new $Uint64(packedState.$high & 0, (packedState.$low & 255) >>> 0).$low >> 0));
127216
127365
  _tmp$1 = ((x$5 = $shiftRightUint64(packedState, 8), new $Int64(x$5.$high, x$5.$low)));
127217
127366
  state = _tmp;
@@ -127290,7 +127439,7 @@ $packages["net/http"] = (function() {
127290
127439
  $s = -1; return;
127291
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;
127292
127441
  }; })(c), []]);
127293
- _tuple = $assertType(c[0].rwc, ptrType$101, true);
127442
+ _tuple = $assertType(c[0].rwc, ptrType$76, true);
127294
127443
  tlsConn = _tuple[0];
127295
127444
  ok = _tuple[1];
127296
127445
  /* */ if (ok) { $s = 5; continue; }
@@ -127357,7 +127506,7 @@ $packages["net/http"] = (function() {
127357
127506
  cancelCtx = _tuple$2[1];
127358
127507
  c[0].cancelCtx = cancelCtx;
127359
127508
  $deferred.push([cancelCtx, []]);
127360
- c[0].r = new connReader.ptr(c[0], new sync.Mutex.ptr(0, 0), false, arrayType$6.zero(), ptrType$74.nil, false, false, new $Int64(0, 0));
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));
127361
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; }
127362
127511
  c[0].bufr = _r$14;
127363
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; }
@@ -127458,7 +127607,7 @@ $packages["net/http"] = (function() {
127458
127607
  $s = -1; return;
127459
127608
  /* } */ case 71:
127460
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; }
127461
- c[0].curReq.Store((ptrType$94.nil));
127610
+ c[0].curReq.Store((ptrType$95.nil));
127462
127611
  if (!w.conn.server.doKeepAlives()) {
127463
127612
  $s = -1; return;
127464
127613
  }
@@ -127497,7 +127646,7 @@ $packages["net/http"] = (function() {
127497
127646
  var _r$2, _tmp, _tmp$1, _tmp$2, _tuple, buf, c, err, rwc, w, $s, $deferred, $r;
127498
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);
127499
127648
  rwc = $ifaceNil;
127500
- buf = ptrType$91.nil;
127649
+ buf = ptrType$92.nil;
127501
127650
  err = $ifaceNil;
127502
127651
  w = this;
127503
127652
  if ((w.$ptr_handlerDone || (w.$ptr_handlerDone = new ptrType$24(function() { return this.$target.handlerDone; }, function($v) { this.$target.handlerDone = $v; }, w))).isSet()) {
@@ -127543,14 +127692,14 @@ $packages["net/http"] = (function() {
127543
127692
  var _r$2, _ref, fn, rc, v, v$1, v$2, $s, $r;
127544
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:
127545
127694
  _ref = rc;
127546
- /* */ if ($assertType(_ref, ptrType$99, true)[1]) { $s = 1; continue; }
127547
- /* */ if ($assertType(_ref, ptrType$96, true)[1]) { $s = 2; continue; }
127695
+ /* */ if ($assertType(_ref, ptrType$100, true)[1]) { $s = 1; continue; }
127696
+ /* */ if ($assertType(_ref, ptrType$97, true)[1]) { $s = 2; continue; }
127548
127697
  /* */ $s = 3; continue;
127549
- /* if ($assertType(_ref, ptrType$99, true)[1]) { */ case 1:
127698
+ /* if ($assertType(_ref, ptrType$100, true)[1]) { */ case 1:
127550
127699
  v = _ref.$val;
127551
127700
  $r = registerOnHitEOF(v.readCloser, fn); /* */ $s = 5; case 5: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
127552
127701
  $s = 4; continue;
127553
- /* } else if ($assertType(_ref, ptrType$96, true)[1]) { */ case 2:
127702
+ /* } else if ($assertType(_ref, ptrType$97, true)[1]) { */ case 2:
127554
127703
  v$1 = _ref.$val;
127555
127704
  $r = v$1.registerOnHitEOF(fn); /* */ $s = 6; case 6: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
127556
127705
  $s = 4; continue;
@@ -127569,14 +127718,14 @@ $packages["net/http"] = (function() {
127569
127718
  $s = -1; return false;
127570
127719
  }
127571
127720
  _ref = rc;
127572
- /* */ if ($assertType(_ref, ptrType$99, true)[1]) { $s = 1; continue; }
127573
- /* */ if ($assertType(_ref, ptrType$96, true)[1]) { $s = 2; continue; }
127721
+ /* */ if ($assertType(_ref, ptrType$100, true)[1]) { $s = 1; continue; }
127722
+ /* */ if ($assertType(_ref, ptrType$97, true)[1]) { $s = 2; continue; }
127574
127723
  /* */ $s = 3; continue;
127575
- /* if ($assertType(_ref, ptrType$99, true)[1]) { */ case 1:
127724
+ /* if ($assertType(_ref, ptrType$100, true)[1]) { */ case 1:
127576
127725
  v = _ref.$val;
127577
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; }
127578
127727
  $s = -1; return _r$2;
127579
- /* } else if ($assertType(_ref, ptrType$96, true)[1]) { */ case 2:
127728
+ /* } else if ($assertType(_ref, ptrType$97, true)[1]) { */ case 2:
127580
127729
  v$1 = _ref.$val;
127581
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; }
127582
127731
  $s = -1; return _r$3;
@@ -128058,7 +128207,7 @@ $packages["net/http"] = (function() {
128058
128207
  c = _entry.k;
128059
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; }
128060
128209
  _r$3;
128061
- delete srv.activeConn[ptrType$97.keyFor(c)];
128210
+ delete srv.activeConn[ptrType$98.keyFor(c)];
128062
128211
  _i++;
128063
128212
  /* } */ $s = 3; continue; case 4:
128064
128213
  $s = -1; return err;
@@ -128184,7 +128333,7 @@ $packages["net/http"] = (function() {
128184
128333
  /* } */ case 5:
128185
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; }
128186
128335
  _r$2;
128187
- delete s.activeConn[ptrType$97.keyFor(c)];
128336
+ delete s.activeConn[ptrType$98.keyFor(c)];
128188
128337
  _i++;
128189
128338
  /* } */ $s = 2; continue; case 3:
128190
128339
  $s = -1; return quiescent;
@@ -128438,9 +128587,9 @@ $packages["net/http"] = (function() {
128438
128587
  s.activeConn = {};
128439
128588
  }
128440
128589
  if (add) {
128441
- _key = c; (s.activeConn || $throwRuntimeError("assignment to entry in nil map"))[ptrType$97.keyFor(_key)] = { k: _key, v: new structType.ptr() };
128590
+ _key = c; (s.activeConn || $throwRuntimeError("assignment to entry in nil map"))[ptrType$98.keyFor(_key)] = { k: _key, v: new structType.ptr() };
128442
128591
  } else {
128443
- delete s.activeConn[ptrType$97.keyFor(c)];
128592
+ delete s.activeConn[ptrType$98.keyFor(c)];
128444
128593
  }
128445
128594
  $s = -1; return;
128446
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; } }
@@ -128467,7 +128616,7 @@ $packages["net/http"] = (function() {
128467
128616
  Server.ptr.prototype.doKeepAlives = function() {
128468
128617
  var s;
128469
128618
  s = this;
128470
- return (atomic.LoadInt32((s.$ptr_disableKeepAlives || (s.$ptr_disableKeepAlives = new ptrType$92(function() { return this.$target.disableKeepAlives; }, function($v) { this.$target.disableKeepAlives = $v; }, s)))) === 0) && !s.shuttingDown();
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();
128471
128620
  };
128472
128621
  Server.prototype.doKeepAlives = function() { return this.$val.doKeepAlives(); };
128473
128622
  Server.ptr.prototype.shuttingDown = function() {
@@ -128481,10 +128630,10 @@ $packages["net/http"] = (function() {
128481
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:
128482
128631
  srv = this;
128483
128632
  if (v) {
128484
- atomic.StoreInt32((srv.$ptr_disableKeepAlives || (srv.$ptr_disableKeepAlives = new ptrType$92(function() { return this.$target.disableKeepAlives; }, function($v) { this.$target.disableKeepAlives = $v; }, srv))), 0);
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);
128485
128634
  $s = -1; return;
128486
128635
  }
128487
- atomic.StoreInt32((srv.$ptr_disableKeepAlives || (srv.$ptr_disableKeepAlives = new ptrType$92(function() { return this.$target.disableKeepAlives; }, function($v) { this.$target.disableKeepAlives = $v; }, srv))), 1);
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);
128488
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; }
128489
128638
  _r$2;
128490
128639
  $s = -1; return;
@@ -128579,7 +128728,7 @@ $packages["net/http"] = (function() {
128579
128728
  /* */ $s = 7; continue;
128580
128729
  /* if (srv.TLSNextProto === false) { */ case 6:
128581
128730
  conf = new http2Server.ptr(0, 0, 0, false, new time.Duration(0, 0), 0, 0, (function() {
128582
- return http2NewPriorityWriteScheduler(ptrType$81.nil);
128731
+ return http2NewPriorityWriteScheduler(ptrType$82.nil);
128583
128732
  }), ptrType$50.nil);
128584
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; }
128585
128734
  srv.nextProtoErr = _r$4;
@@ -129536,9 +129685,9 @@ $packages["net/http"] = (function() {
129536
129685
  } else if ((realLength.$high === 0 && realLength.$low === 0)) {
129537
129686
  t.Body = new $pkg.NoBody.constructor.elem($pkg.NoBody);
129538
129687
  } else if ((realLength.$high > 0 || (realLength.$high === 0 && realLength.$low > 0))) {
129539
- t.Body = new body.ptr(io.LimitReader(r, realLength), $ifaceNil, ptrType$75.nil, t.Close, false, new sync.Mutex.ptr(0, 0), false, false, false, $throwNilPointerError);
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);
129540
129689
  } else if (t.Close) {
129541
- t.Body = new body.ptr(r, $ifaceNil, ptrType$75.nil, t.Close, false, new sync.Mutex.ptr(0, 0), false, false, false, $throwNilPointerError);
129690
+ t.Body = new body.ptr(r, $ifaceNil, ptrType$77.nil, t.Close, false, new sync.Mutex.ptr(0, 0), false, false, false, $throwNilPointerError);
129542
129691
  } else {
129543
129692
  t.Body = new $pkg.NoBody.constructor.elem($pkg.NoBody);
129544
129693
  }
@@ -129911,10 +130060,10 @@ $packages["net/http"] = (function() {
129911
130060
  _ref = b.hdr;
129912
130061
  if ($assertType(_ref, ptrType$6, true)[1]) {
129913
130062
  rr = _ref.$val;
129914
- mergeSetHeader((rr.$ptr_Trailer || (rr.$ptr_Trailer = new ptrType$76(function() { return this.$target.Trailer; }, function($v) { this.$target.Trailer = $v; }, rr))), (hdr));
130063
+ mergeSetHeader((rr.$ptr_Trailer || (rr.$ptr_Trailer = new ptrType$78(function() { return this.$target.Trailer; }, function($v) { this.$target.Trailer = $v; }, rr))), (hdr));
129915
130064
  } else if ($assertType(_ref, ptrType$18, true)[1]) {
129916
130065
  rr$1 = _ref.$val;
129917
- mergeSetHeader((rr$1.$ptr_Trailer || (rr$1.$ptr_Trailer = new ptrType$76(function() { return this.$target.Trailer; }, function($v) { this.$target.Trailer = $v; }, rr$1))), (hdr));
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));
129918
130067
  }
129919
130068
  $s = -1; return $ifaceNil;
129920
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;
@@ -130103,7 +130252,7 @@ $packages["net/http"] = (function() {
130103
130252
  var _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _ref, _tuple, ok, r, r$1, $s, $r;
130104
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:
130105
130254
  _ref = r;
130106
- if ($assertType(_ref, ptrType$87, true)[1] || $assertType(_ref, ptrType$38, true)[1] || $assertType(_ref, ptrType$88, true)[1]) {
130255
+ if ($assertType(_ref, ptrType$88, true)[1] || $assertType(_ref, ptrType$38, true)[1] || $assertType(_ref, ptrType$89, true)[1]) {
130107
130256
  $s = -1; return true;
130108
130257
  }
130109
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; }
@@ -130221,7 +130370,7 @@ $packages["net/http"] = (function() {
130221
130370
  ptrType$69.methods = [{prop: "Init", name: "Init", pkg: "", typ: $funcType([], [], false)}];
130222
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)}];
130223
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)}];
130224
- 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)}];
130225
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)}];
130226
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)}];
130227
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)}];
@@ -130244,33 +130393,33 @@ $packages["net/http"] = (function() {
130244
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)}];
130245
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)}];
130246
130395
  ptrType$124.methods = [{prop: "replyToWriter", name: "replyToWriter", pkg: "net/http", typ: $funcType([$error], [], false)}];
130247
- ptrType$80.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)}];
130248
- ptrType$83.methods = [{prop: "put", name: "put", pkg: "net/http", typ: $funcType([ptrType$80], [], false)}, {prop: "get", name: "get", pkg: "net/http", typ: $funcType([], [ptrType$80], false)}];
130249
- ptrType$82.methods = [{prop: "setParent", name: "setParent", pkg: "net/http", typ: $funcType([ptrType$82], [], false)}, {prop: "addBytes", name: "addBytes", pkg: "net/http", typ: $funcType([$Int64], [], false)}, {prop: "walkReadyInOrder", name: "walkReadyInOrder", pkg: "net/http", typ: $funcType([$Bool, ptrType$84, funcType$13], [$Bool], false)}];
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)}];
130250
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)}];
130251
- 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$84, $Int, ptrType$82], [], false)}, {prop: "removeNode", name: "removeNode", pkg: "net/http", typ: $funcType([ptrType$82], [], false)}];
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)}];
130252
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)}];
130253
- 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$85], 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)}];
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)}];
130254
130403
  stringWriter.methods = [{prop: "WriteString", name: "WriteString", pkg: "", typ: $funcType([$String], [$Int, $error], false)}];
130255
- ptrType$85.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)}];
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)}];
130256
130405
  ptrType$127.methods = [{prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}];
130257
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)}];
130258
130407
  ptrType$128.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
130259
- 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$86, $error], false)}, {prop: "multipartReader", name: "multipartReader", pkg: "net/http", typ: $funcType([$Bool], [ptrType$86, $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)}];
130260
- ptrType$90.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}];
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)}];
130261
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)}];
130262
- ptrType$97.methods = [{prop: "hijacked", name: "hijacked", pkg: "net/http", typ: $funcType([], [$Bool], false)}, {prop: "hijackLocked", name: "hijackLocked", pkg: "net/http", typ: $funcType([], [net.Conn, ptrType$91, $error], false)}, {prop: "readRequest", name: "readRequest", pkg: "net/http", typ: $funcType([context.Context], [ptrType$94, $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)}];
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)}];
130263
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)}];
130264
- ptrType$94.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$91, $error], false)}, {prop: "CloseNotify", name: "CloseNotify", pkg: "", typ: $funcType([], [chanType$9], false)}];
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)}];
130265
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)}];
130266
- ptrType$93.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)}];
130267
- ptrType$99.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}];
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)}];
130268
130417
  extraHeader.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([ptrType$9], [], false)}];
130269
130418
  statusError.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
130270
130419
  HandlerFunc.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
130271
130420
  ptrType$132.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
130272
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)}];
130273
- ptrType$51.methods = [{prop: "newConn", name: "newConn", pkg: "net/http", typ: $funcType([net.Conn], [ptrType$97], 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$97, $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)}];
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)}];
130274
130423
  ConnState.methods = [{prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}];
130275
130424
  serverHandler.methods = [{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}];
130276
130425
  ptrType$135.methods = [{prop: "Close", name: "Close", pkg: "", typ: $funcType([], [$error], false)}, {prop: "close", name: "close", pkg: "net/http", typ: $funcType([], [], false)}];
@@ -130288,7 +130437,7 @@ $packages["net/http"] = (function() {
130288
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)}];
130289
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)}];
130290
130439
  ptrType$107.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
130291
- ptrType$96.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)}];
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)}];
130292
130441
  bodyLocked.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
130293
130442
  finishAsyncByteRead.methods = [{prop: "Read", name: "Read", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
130294
130443
  bufioFlushWriter.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$4], [$Int, $error], false)}];
@@ -130358,10 +130507,10 @@ $packages["net/http"] = (function() {
130358
130507
  http2OpenStreamOptions.init("", [{prop: "PusherID", name: "PusherID", embedded: false, exported: true, typ: $Uint32, tag: ""}]);
130359
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: ""}]);
130360
130509
  http2writeQueue.init("net/http", [{prop: "s", name: "s", embedded: false, exported: false, typ: sliceType$24, tag: ""}]);
130361
- http2writeQueuePool.init(ptrType$80);
130510
+ http2writeQueuePool.init(ptrType$81);
130362
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: ""}]);
130363
- 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$82, tag: ""}, {prop: "kids", name: "kids", embedded: false, exported: false, typ: ptrType$82, tag: ""}, {prop: "prev", name: "prev", embedded: false, exported: false, typ: ptrType$82, tag: ""}, {prop: "next", name: "next", embedded: false, exported: false, typ: ptrType$82, tag: ""}]);
130364
- http2sortPriorityNodeSiblings.init(ptrType$82);
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);
130365
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: ""}]);
130366
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: ""}]);
130367
130516
  Header.init($String, sliceType$2);
@@ -130379,13 +130528,13 @@ $packages["net/http"] = (function() {
130379
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: ""}]);
130380
130529
  Handler.init([{prop: "ServeHTTP", name: "ServeHTTP", pkg: "", typ: $funcType([ResponseWriter, ptrType$6], [], false)}]);
130381
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)}]);
130382
- 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$93, tag: ""}, {prop: "bufr", name: "bufr", embedded: false, exported: false, typ: ptrType$75, 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: ""}]);
130383
- chunkWriter.init("net/http", [{prop: "res", name: "res", embedded: false, exported: false, typ: ptrType$94, 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: ""}]);
130384
- response.init("net/http", [{prop: "conn", name: "conn", embedded: false, exported: false, typ: ptrType$97, 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: ""}]);
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: ""}]);
130385
130534
  writerOnly.init("", [{prop: "Writer", name: "Writer", embedded: true, exported: true, typ: io.Writer, tag: ""}]);
130386
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: ""}]);
130387
- connReader.init("net/http", [{prop: "conn", name: "conn", embedded: false, exported: false, typ: ptrType$97, 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$74, 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: ""}]);
130388
- expectContinueReader.init("net/http", [{prop: "resp", name: "resp", embedded: false, exported: false, typ: ptrType$94, 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: ""}]);
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: ""}]);
130389
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: ""}]);
130390
130539
  closeWriter.init([{prop: "CloseWrite", name: "CloseWrite", pkg: "", typ: $funcType([], [$error], false)}]);
130391
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: ""}]);
@@ -130397,9 +130546,9 @@ $packages["net/http"] = (function() {
130397
130546
  serverHandler.init("net/http", [{prop: "srv", name: "srv", embedded: false, exported: false, typ: ptrType$51, tag: ""}]);
130398
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: ""}]);
130399
130548
  globalOptionsHandler.init("", []);
130400
- 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$101, tag: ""}, {prop: "h", name: "h", embedded: false, exported: false, typ: serverHandler, tag: ""}]);
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: ""}]);
130401
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: ""}]);
130402
- checkConnErrorWriter.init("net/http", [{prop: "c", name: "c", embedded: false, exported: false, typ: ptrType$97, tag: ""}]);
130551
+ checkConnErrorWriter.init("net/http", [{prop: "c", name: "c", embedded: false, exported: false, typ: ptrType$98, tag: ""}]);
130403
130552
  sniffSig.init([{prop: "match", name: "match", pkg: "net/http", typ: $funcType([sliceType$4, $Int], [$String], false)}]);
130404
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: ""}]);
130405
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: ""}]);
@@ -130408,11 +130557,11 @@ $packages["net/http"] = (function() {
130408
130557
  textSig.init("", []);
130409
130558
  errorReader.init("net/http", [{prop: "err", name: "err", embedded: false, exported: false, typ: $error, tag: ""}]);
130410
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: ""}]);
130411
- 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$12, tag: ""}]);
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: ""}]);
130412
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: ""}]);
130413
130562
  unsupportedTEError.init("net/http", [{prop: "err", name: "err", embedded: false, exported: false, typ: $String, tag: ""}]);
130414
- 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$75, 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: ""}]);
130415
- bodyLocked.init("net/http", [{prop: "b", name: "b", embedded: false, exported: false, typ: ptrType$96, tag: ""}]);
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: ""}]);
130416
130565
  finishAsyncByteRead.init("net/http", [{prop: "tw", name: "tw", embedded: false, exported: false, typ: ptrType$105, tag: ""}]);
130417
130566
  bufioFlushWriter.init("net/http", [{prop: "w", name: "w", embedded: false, exported: false, typ: io.Writer, tag: ""}]);
130418
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: ""}]);
@@ -130503,6 +130652,7 @@ $packages["net/http"] = (function() {
130503
130652
  }))]);
130504
130653
  http2errReadEmpty = errors.New("read from empty dataBuffer");
130505
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");
130506
130656
  http2errMixPseudoHeaderTypes = errors.New("mix of request and response pseudo headers");
130507
130657
  http2errPseudoAfterRegular = errors.New("pseudo header field after regular");
130508
130658
  http2padZeros = $makeSlice(sliceType$4, 255);
@@ -130570,6 +130720,7 @@ $packages["net/http"] = (function() {
130570
130720
  http2errStopReqBodyWrite = errors.New("http2: aborting request body write");
130571
130721
  http2errStopReqBodyWriteAndCancel = errors.New("http2: canceling request");
130572
130722
  http2errReqBodyTooLong = errors.New("http2: request body larger than specified content length");
130723
+ http2errNilRequestURL = errors.New("http2: Request.URI is nil");
130573
130724
  http2errClosedResponseBody = errors.New("http2: response body closed");
130574
130725
  http2errResponseHeaderListSize = errors.New("http2: response header list larger than advertised limit");
130575
130726
  http2errRequestHeaderListSize = errors.New("http2: request header list larger than peer's advertised limit");
@@ -136019,24 +136170,24 @@ $packages["github.com/nuberu/webgl"] = (function() {
136019
136170
  /* */ if ($assertType(_ref, sliceType$9, true)[1]) { $s = 10; continue; }
136020
136171
  /* */ $s = 11; continue;
136021
136172
  /* if ($assertType(_ref, sliceType, true)[1]) { */ case 1:
136022
- s$1[0] = _ref.$val;
136023
- h = ($pointerOfStructConversion(((s$1.$ptr || (s$1.$ptr = new ptrType$1(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$1)))), ptrType));
136173
+ s$9[0] = _ref.$val;
136174
+ h = ($pointerOfStructConversion(((s$9.$ptr || (s$9.$ptr = new ptrType$1(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$9)))), ptrType));
136024
136175
  $s = -1; return ((h)).$get();
136025
136176
  /* } else if ($assertType(_ref, sliceType$1, true)[1]) { */ case 2:
136026
- s$2[0] = _ref.$val;
136027
- h$1 = ($pointerOfStructConversion(((s$2.$ptr || (s$2.$ptr = new ptrType$2(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$2)))), ptrType));
136177
+ s$3[0] = _ref.$val;
136178
+ h$1 = ($pointerOfStructConversion(((s$3.$ptr || (s$3.$ptr = new ptrType$2(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$3)))), ptrType));
136028
136179
  h$1.Len = $imul(h$1.Len, (2));
136029
136180
  h$1.Cap = $imul(h$1.Cap, (2));
136030
136181
  $s = -1; return ((h$1)).$get();
136031
136182
  /* } else if ($assertType(_ref, sliceType$2, true)[1]) { */ case 3:
136032
- s$6[0] = _ref.$val;
136033
- h$2 = ($pointerOfStructConversion(((s$6.$ptr || (s$6.$ptr = new ptrType$3(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$6)))), ptrType));
136183
+ s$1[0] = _ref.$val;
136184
+ h$2 = ($pointerOfStructConversion(((s$1.$ptr || (s$1.$ptr = new ptrType$3(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$1)))), ptrType));
136034
136185
  h$2.Len = $imul(h$2.Len, (4));
136035
136186
  h$2.Cap = $imul(h$2.Cap, (4));
136036
136187
  $s = -1; return ((h$2)).$get();
136037
136188
  /* } else if ($assertType(_ref, sliceType$3, true)[1]) { */ case 4:
136038
- s$3[0] = _ref.$val;
136039
- 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));
136189
+ s$4[0] = _ref.$val;
136190
+ h$3 = ($pointerOfStructConversion(((s$4.$ptr || (s$4.$ptr = new ptrType$4(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$4)))), ptrType));
136040
136191
  h$3.Len = $imul(h$3.Len, (8));
136041
136192
  h$3.Cap = $imul(h$3.Cap, (8));
136042
136193
  $s = -1; return ((h$3)).$get();
@@ -136044,32 +136195,32 @@ $packages["github.com/nuberu/webgl"] = (function() {
136044
136195
  s$10 = _ref.$val;
136045
136196
  $s = -1; return s$10;
136046
136197
  /* } else if ($assertType(_ref, sliceType$5, true)[1]) { */ case 6:
136047
- s$4[0] = _ref.$val;
136048
- 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));
136198
+ s$5[0] = _ref.$val;
136199
+ h$4 = ($pointerOfStructConversion(((s$5.$ptr || (s$5.$ptr = new ptrType$5(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$5)))), ptrType));
136049
136200
  h$4.Len = $imul(h$4.Len, (2));
136050
136201
  h$4.Cap = $imul(h$4.Cap, (2));
136051
136202
  $s = -1; return ((h$4)).$get();
136052
136203
  /* } else if ($assertType(_ref, sliceType$6, true)[1]) { */ case 7:
136053
- s$7[0] = _ref.$val;
136054
- h$5 = ($pointerOfStructConversion(((s$7.$ptr || (s$7.$ptr = new ptrType$6(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$7)))), ptrType));
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));
136055
136206
  h$5.Len = $imul(h$5.Len, (4));
136056
136207
  h$5.Cap = $imul(h$5.Cap, (4));
136057
136208
  $s = -1; return ((h$5)).$get();
136058
136209
  /* } else if ($assertType(_ref, sliceType$7, true)[1]) { */ case 8:
136059
- s$8[0] = _ref.$val;
136060
- h$6 = ($pointerOfStructConversion(((s$8.$ptr || (s$8.$ptr = new ptrType$7(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$8)))), ptrType));
136210
+ s$2[0] = _ref.$val;
136211
+ h$6 = ($pointerOfStructConversion(((s$2.$ptr || (s$2.$ptr = new ptrType$7(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$2)))), ptrType));
136061
136212
  h$6.Len = $imul(h$6.Len, (8));
136062
136213
  h$6.Cap = $imul(h$6.Cap, (8));
136063
136214
  $s = -1; return ((h$6)).$get();
136064
136215
  /* } else if ($assertType(_ref, sliceType$8, true)[1]) { */ case 9:
136065
- s$5[0] = _ref.$val;
136066
- h$7 = ($pointerOfStructConversion(((s$5.$ptr || (s$5.$ptr = new ptrType$8(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$5)))), ptrType));
136216
+ s$7[0] = _ref.$val;
136217
+ h$7 = ($pointerOfStructConversion(((s$7.$ptr || (s$7.$ptr = new ptrType$8(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$7)))), ptrType));
136067
136218
  h$7.Len = $imul(h$7.Len, (4));
136068
136219
  h$7.Cap = $imul(h$7.Cap, (4));
136069
136220
  $s = -1; return ((h$7)).$get();
136070
136221
  /* } else if ($assertType(_ref, sliceType$9, true)[1]) { */ case 10:
136071
- s$9[0] = _ref.$val;
136072
- 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));
136222
+ s$8[0] = _ref.$val;
136223
+ h$8 = ($pointerOfStructConversion(((s$8.$ptr || (s$8.$ptr = new ptrType$9(function() { return this.$target[0]; }, function($v) { this.$target[0] = $v; }, s$8)))), ptrType));
136073
136224
  h$8.Len = $imul(h$8.Len, (8));
136074
136225
  h$8.Cap = $imul(h$8.Cap, (8));
136075
136226
  $s = -1; return ((h$8)).$get();
@@ -141006,14 +141157,14 @@ $packages["image/draw"] = (function() {
141006
141157
  /* */ if ($assertType(_ref$1, ptrType$5, true)[1]) { $s = 8; continue; }
141007
141158
  /* */ $s = 9; continue;
141008
141159
  /* if ($assertType(_ref$1, ptrType$1, true)[1]) { */ case 6:
141009
- src0$1[0] = _ref$1.$val;
141160
+ src0[0] = _ref$1.$val;
141010
141161
  pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
141011
141162
  var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
141012
141163
  r$2 = 0;
141013
141164
  g$1 = 0;
141014
141165
  b$1 = 0;
141015
141166
  a$1 = 0;
141016
- _tuple$2 = $clone(src0$1[0].RGBAAt(x$1, y), color.RGBA).RGBA();
141167
+ _tuple$2 = $clone(src0[0].RGBAAt(x$1, y), color.RGBA).RGBA();
141017
141168
  r$2 = _tuple$2[0];
141018
141169
  g$1 = _tuple$2[1];
141019
141170
  b$1 = _tuple$2[2];
@@ -141022,14 +141173,14 @@ $packages["image/draw"] = (function() {
141022
141173
  }; })(out, src, src0, src0$1, src0$2);
141023
141174
  $s = 9; continue;
141024
141175
  /* } else if ($assertType(_ref$1, ptrType$4, true)[1]) { */ case 7:
141025
- src0$2[0] = _ref$1.$val;
141176
+ src0$1[0] = _ref$1.$val;
141026
141177
  pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
141027
141178
  var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
141028
141179
  r$2 = 0;
141029
141180
  g$1 = 0;
141030
141181
  b$1 = 0;
141031
141182
  a$1 = 0;
141032
- _tuple$2 = $clone(src0$2[0].NRGBAAt(x$1, y), color.NRGBA).RGBA();
141183
+ _tuple$2 = $clone(src0$1[0].NRGBAAt(x$1, y), color.NRGBA).RGBA();
141033
141184
  r$2 = _tuple$2[0];
141034
141185
  g$1 = _tuple$2[1];
141035
141186
  b$1 = _tuple$2[2];
@@ -141038,14 +141189,14 @@ $packages["image/draw"] = (function() {
141038
141189
  }; })(out, src, src0, src0$1, src0$2);
141039
141190
  $s = 9; continue;
141040
141191
  /* } else if ($assertType(_ref$1, ptrType$5, true)[1]) { */ case 8:
141041
- src0[0] = _ref$1.$val;
141192
+ src0$2[0] = _ref$1.$val;
141042
141193
  pxRGBA = (function(out, src, src0, src0$1, src0$2) { return function(x$1, y) {
141043
141194
  var _tuple$2, a$1, b$1, g$1, r$2, x$1, y;
141044
141195
  r$2 = 0;
141045
141196
  g$1 = 0;
141046
141197
  b$1 = 0;
141047
141198
  a$1 = 0;
141048
- _tuple$2 = $clone(src0[0].YCbCrAt(x$1, y), color.YCbCr).RGBA();
141199
+ _tuple$2 = $clone(src0$2[0].YCbCrAt(x$1, y), color.YCbCr).RGBA();
141049
141200
  r$2 = _tuple$2[0];
141050
141201
  g$1 = _tuple$2[1];
141051
141202
  b$1 = _tuple$2[2];