@attocash/commons-js 5.2.2 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +1 -0
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -0
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +16 -0
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +6 -6
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +7 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +7 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +12 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +92 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +273 -271
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/{AttoNodeOperationsImpl.js.export.mjs → AttoNodeOperationsJsImpl.js.export.mjs} +2 -2
- package/commons-commons-node-remote/cash/atto/commons/node/{AttoNodeOperationsImpl.js.mjs → AttoNodeOperationsJsImpl.js.mjs} +75 -75
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsJsImpl.js.mjs.map +1 -0
- package/commons-commons-node-remote.mjs +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +4 -20
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +28 -28
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +47 -47
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +21 -21
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +192 -192
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +8 -8
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +187 -187
- package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +39 -39
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +89 -89
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +23 -23
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +4 -4
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/package.json +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +0 -1
- /package/commons-commons-node-remote/cash/atto/commons/node/{AttoNodeOperationsImpl.js.export.d.ts → AttoNodeOperationsJsImpl.js.export.d.ts} +0 -0
- /package/commons-commons-node-remote/cash/atto/commons/node/{AttoNodeOperationsImpl.js.export.mjs.map → AttoNodeOperationsJsImpl.js.export.mjs.map} +0 -0
|
@@ -216,11 +216,11 @@ function writeRequest$slambda() {
|
|
|
216
216
|
constructor($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation, $box) {
|
|
217
217
|
if ($box === VOID)
|
|
218
218
|
$box = {};
|
|
219
|
-
$box.
|
|
220
|
-
$box.
|
|
221
|
-
$box.
|
|
222
|
-
$box.
|
|
223
|
-
$box.
|
|
219
|
+
$box.r7c_1 = $request;
|
|
220
|
+
$box.s7c_1 = $output;
|
|
221
|
+
$box.t7c_1 = $overProxy;
|
|
222
|
+
$box.u7c_1 = $closeChannel;
|
|
223
|
+
$box.v7c_1 = $callContext;
|
|
224
224
|
super(resultContinuation, $box);
|
|
225
225
|
}
|
|
226
226
|
z37($this$withContext, $completion) {
|
|
@@ -241,7 +241,7 @@ function writeRequest$slambda() {
|
|
|
241
241
|
case 0:
|
|
242
242
|
this.bc_1 = 3;
|
|
243
243
|
this.ac_1 = 1;
|
|
244
|
-
suspendResult = writeHeaders(this.
|
|
244
|
+
suspendResult = writeHeaders(this.r7c_1, this.s7c_1, this.t7c_1, this.u7c_1, this);
|
|
245
245
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
246
246
|
return suspendResult;
|
|
247
247
|
}
|
|
@@ -249,7 +249,7 @@ function writeRequest$slambda() {
|
|
|
249
249
|
continue $sm;
|
|
250
250
|
case 1:
|
|
251
251
|
this.ac_1 = 2;
|
|
252
|
-
suspendResult = writeBody(this.
|
|
252
|
+
suspendResult = writeBody(this.r7c_1, this.s7c_1, this.v7c_1, VOID, this);
|
|
253
253
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
254
254
|
return suspendResult;
|
|
255
255
|
}
|
|
@@ -272,8 +272,8 @@ function writeRequest$slambda() {
|
|
|
272
272
|
while (true);
|
|
273
273
|
}
|
|
274
274
|
d36($this$withContext, completion) {
|
|
275
|
-
var i = new (writeRequest$slambda())(this.
|
|
276
|
-
i.
|
|
275
|
+
var i = new (writeRequest$slambda())(this.r7c_1, this.s7c_1, this.t7c_1, this.u7c_1, this.v7c_1, completion);
|
|
276
|
+
i.w7c_1 = $this$withContext;
|
|
277
277
|
return i;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -297,11 +297,11 @@ function readResponse$slambda$slambda() {
|
|
|
297
297
|
constructor($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation, $box) {
|
|
298
298
|
if ($box === VOID)
|
|
299
299
|
$box = {};
|
|
300
|
-
$box.
|
|
301
|
-
$box.
|
|
302
|
-
$box.
|
|
303
|
-
$box.
|
|
304
|
-
$box.
|
|
300
|
+
$box.f7d_1 = $version;
|
|
301
|
+
$box.g7d_1 = $contentLength;
|
|
302
|
+
$box.h7d_1 = $transferEncoding;
|
|
303
|
+
$box.i7d_1 = $connectionType;
|
|
304
|
+
$box.j7d_1 = $input;
|
|
305
305
|
super(resultContinuation, $box);
|
|
306
306
|
}
|
|
307
307
|
z4l($this$writer, $completion) {
|
|
@@ -322,7 +322,7 @@ function readResponse$slambda$slambda() {
|
|
|
322
322
|
case 0:
|
|
323
323
|
this.bc_1 = 2;
|
|
324
324
|
this.ac_1 = 1;
|
|
325
|
-
suspendResult = parseHttpBody(this.
|
|
325
|
+
suspendResult = parseHttpBody(this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, this.j7d_1, this.k7d_1.j3n_1, this);
|
|
326
326
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
327
327
|
return suspendResult;
|
|
328
328
|
}
|
|
@@ -345,8 +345,8 @@ function readResponse$slambda$slambda() {
|
|
|
345
345
|
while (true);
|
|
346
346
|
}
|
|
347
347
|
a4m($this$writer, completion) {
|
|
348
|
-
var i = new (readResponse$slambda$slambda())(this.
|
|
349
|
-
i.
|
|
348
|
+
var i = new (readResponse$slambda$slambda())(this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, this.j7d_1, completion);
|
|
349
|
+
i.k7d_1 = $this$writer;
|
|
350
350
|
return i;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -370,11 +370,11 @@ function readResponse$slambda() {
|
|
|
370
370
|
constructor($input, $output, $callContext, $requestTime, $request, resultContinuation, $box) {
|
|
371
371
|
if ($box === VOID)
|
|
372
372
|
$box = {};
|
|
373
|
-
$box.
|
|
374
|
-
$box.
|
|
375
|
-
$box.
|
|
376
|
-
$box.
|
|
377
|
-
$box.
|
|
373
|
+
$box.t7d_1 = $input;
|
|
374
|
+
$box.u7d_1 = $output;
|
|
375
|
+
$box.v7d_1 = $callContext;
|
|
376
|
+
$box.w7d_1 = $requestTime;
|
|
377
|
+
$box.x7d_1 = $request;
|
|
378
378
|
super(resultContinuation, $box);
|
|
379
379
|
}
|
|
380
380
|
c58($this$withContext, $completion) {
|
|
@@ -395,7 +395,7 @@ function readResponse$slambda() {
|
|
|
395
395
|
case 0:
|
|
396
396
|
this.bc_1 = 2;
|
|
397
397
|
this.ac_1 = 1;
|
|
398
|
-
suspendResult = parseResponse(this.
|
|
398
|
+
suspendResult = parseResponse(this.t7d_1, this);
|
|
399
399
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
400
400
|
return suspendResult;
|
|
401
401
|
}
|
|
@@ -433,23 +433,23 @@ function readResponse$slambda() {
|
|
|
433
433
|
var headers = new (HeadersImpl())(toMap(rawHeaders));
|
|
434
434
|
var version = Companion_getInstance_1().h1l(rawResponse.i4n_1);
|
|
435
435
|
if (status.equals(Companion_getInstance().t46_1)) {
|
|
436
|
-
var session = RawWebSocket(this.
|
|
437
|
-
tmp$ret$0 = new (HttpResponseData())(status, this.
|
|
436
|
+
var session = RawWebSocket(this.t7d_1, this.u7d_1, VOID, true, this.v7d_1);
|
|
437
|
+
tmp$ret$0 = new (HttpResponseData())(status, this.w7d_1, headers, version, session, this.v7d_1);
|
|
438
438
|
break l$ret$1;
|
|
439
439
|
}
|
|
440
440
|
var tmp_3;
|
|
441
|
-
if (this.
|
|
441
|
+
if (this.x7d_1.r56_1.equals(Companion_getInstance_3().f46_1) || listOf([Companion_getInstance().h47_1, Companion_getInstance().z46_1]).q2(status) || isInformational(status)) {
|
|
442
442
|
tmp_3 = Companion_getInstance_2().h3d_1;
|
|
443
443
|
} else {
|
|
444
|
-
var coroutineScope = CoroutineScope(this.
|
|
445
|
-
var httpBodyParser = writer(coroutineScope, VOID, true, readResponse$slambda$slambda_0(version, contentLength, transferEncoding, connectionType, this.
|
|
444
|
+
var coroutineScope = CoroutineScope(this.v7d_1.lm(new (CoroutineName())('cio-client-body-reader')));
|
|
445
|
+
var httpBodyParser = writer(coroutineScope, VOID, true, readResponse$slambda$slambda_0(version, contentLength, transferEncoding, connectionType, this.t7d_1, null));
|
|
446
446
|
tmp_3 = httpBodyParser.h3n_1;
|
|
447
447
|
}
|
|
448
448
|
var body = tmp_3;
|
|
449
|
-
var tmp4_safe_receiver = this.
|
|
450
|
-
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.t5w(this.
|
|
449
|
+
var tmp4_safe_receiver = this.x7d_1.v56_1.s3r(get_ResponseAdapterAttributeKey());
|
|
450
|
+
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.t5w(this.x7d_1, status, headers, body, this.x7d_1.t56_1, this.v7d_1);
|
|
451
451
|
var responseBody = tmp5_elvis_lhs == null ? body : tmp5_elvis_lhs;
|
|
452
|
-
tmp$ret$0 = new (HttpResponseData())(status, this.
|
|
452
|
+
tmp$ret$0 = new (HttpResponseData())(status, this.w7d_1, headers, version, responseBody, this.v7d_1);
|
|
453
453
|
break l$ret$1;
|
|
454
454
|
} catch ($p) {
|
|
455
455
|
var tmp_4;
|
|
@@ -497,8 +497,8 @@ function readResponse$slambda() {
|
|
|
497
497
|
while (true);
|
|
498
498
|
}
|
|
499
499
|
d36($this$withContext, completion) {
|
|
500
|
-
var i = new (readResponse$slambda())(this.
|
|
501
|
-
i.
|
|
500
|
+
var i = new (readResponse$slambda())(this.t7d_1, this.u7d_1, this.v7d_1, this.w7d_1, this.x7d_1, completion);
|
|
501
|
+
i.y7d_1 = $this$withContext;
|
|
502
502
|
return i;
|
|
503
503
|
}
|
|
504
504
|
}
|
|
@@ -532,12 +532,12 @@ function writeBody$slambda() {
|
|
|
532
532
|
constructor($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation, $box) {
|
|
533
533
|
if ($box === VOID)
|
|
534
534
|
$box = {};
|
|
535
|
-
$box.
|
|
536
|
-
$box.
|
|
537
|
-
$box.
|
|
538
|
-
$box.
|
|
539
|
-
$box.
|
|
540
|
-
$box.
|
|
535
|
+
$box.h7e_1 = $request;
|
|
536
|
+
$box.i7e_1 = $body;
|
|
537
|
+
$box.j7e_1 = $channel;
|
|
538
|
+
$box.k7e_1 = $chunkedJob;
|
|
539
|
+
$box.l7e_1 = $output;
|
|
540
|
+
$box.m7e_1 = $closeChannel;
|
|
541
541
|
super(resultContinuation, $box);
|
|
542
542
|
}
|
|
543
543
|
z37($this$launch, $completion) {
|
|
@@ -563,14 +563,14 @@ function writeBody$slambda() {
|
|
|
563
563
|
this.bc_1 = 4;
|
|
564
564
|
this.bc_1 = 3;
|
|
565
565
|
this.ac_1 = 2;
|
|
566
|
-
suspendResult = processOutgoingContent(this.
|
|
566
|
+
suspendResult = processOutgoingContent(this.h7e_1, this.i7e_1, this.j7e_1, this);
|
|
567
567
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
568
568
|
return suspendResult;
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
continue $sm;
|
|
572
572
|
case 2:
|
|
573
|
-
this.
|
|
573
|
+
this.o7e_1 = suspendResult;
|
|
574
574
|
this.bc_1 = 12;
|
|
575
575
|
this.ac_1 = 8;
|
|
576
576
|
continue $sm;
|
|
@@ -578,26 +578,26 @@ function writeBody$slambda() {
|
|
|
578
578
|
this.bc_1 = 4;
|
|
579
579
|
var tmp_0 = this.dc_1;
|
|
580
580
|
if (tmp_0 instanceof Error) {
|
|
581
|
-
this.
|
|
581
|
+
this.p7e_1 = this.dc_1;
|
|
582
582
|
var tmp_1 = this;
|
|
583
|
-
close_0(this.
|
|
584
|
-
throw this.
|
|
583
|
+
close_0(this.j7e_1, this.p7e_1);
|
|
584
|
+
throw this.p7e_1;
|
|
585
585
|
} else {
|
|
586
586
|
throw this.dc_1;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
case 4:
|
|
590
590
|
this.bc_1 = 12;
|
|
591
|
-
this.
|
|
591
|
+
this.q7e_1 = this.dc_1;
|
|
592
592
|
this.ac_1 = 5;
|
|
593
|
-
suspendResult = this.
|
|
593
|
+
suspendResult = this.j7e_1.z3a(this);
|
|
594
594
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
595
595
|
return suspendResult;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
continue $sm;
|
|
599
599
|
case 5:
|
|
600
|
-
var tmp0_safe_receiver = this.
|
|
600
|
+
var tmp0_safe_receiver = this.k7e_1;
|
|
601
601
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d3h_1;
|
|
602
602
|
if (tmp1_safe_receiver == null)
|
|
603
603
|
null;
|
|
@@ -605,14 +605,14 @@ function writeBody$slambda() {
|
|
|
605
605
|
close(tmp1_safe_receiver);
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
this.
|
|
609
|
-
if (this.
|
|
610
|
-
this.
|
|
608
|
+
this.r7e_1 = this.k7e_1;
|
|
609
|
+
if (this.r7e_1 == null) {
|
|
610
|
+
this.s7e_1 = null;
|
|
611
611
|
this.ac_1 = 7;
|
|
612
612
|
continue $sm;
|
|
613
613
|
} else {
|
|
614
614
|
this.ac_1 = 6;
|
|
615
|
-
suspendResult = join(this.
|
|
615
|
+
suspendResult = join(this.r7e_1, this);
|
|
616
616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
617
617
|
return suspendResult;
|
|
618
618
|
}
|
|
@@ -621,11 +621,11 @@ function writeBody$slambda() {
|
|
|
621
621
|
|
|
622
622
|
case 6:
|
|
623
623
|
var tmp_2 = this;
|
|
624
|
-
tmp_2.
|
|
624
|
+
tmp_2.s7e_1 = Unit_instance;
|
|
625
625
|
this.ac_1 = 7;
|
|
626
626
|
continue $sm;
|
|
627
627
|
case 7:
|
|
628
|
-
var tmp3_safe_receiver = this.
|
|
628
|
+
var tmp3_safe_receiver = this.l7e_1.f3b();
|
|
629
629
|
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : unwrapCancellationException(tmp3_safe_receiver);
|
|
630
630
|
var tmp_3;
|
|
631
631
|
if (tmp4_safe_receiver == null) {
|
|
@@ -647,22 +647,22 @@ function writeBody$slambda() {
|
|
|
647
647
|
throw tmp5_safe_receiver;
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
if (this.
|
|
651
|
-
close(this.
|
|
650
|
+
if (this.m7e_1) {
|
|
651
|
+
close(this.l7e_1);
|
|
652
652
|
}
|
|
653
653
|
|
|
654
|
-
throw this.
|
|
654
|
+
throw this.q7e_1;
|
|
655
655
|
case 8:
|
|
656
656
|
this.bc_1 = 12;
|
|
657
657
|
this.ac_1 = 9;
|
|
658
|
-
suspendResult = this.
|
|
658
|
+
suspendResult = this.j7e_1.z3a(this);
|
|
659
659
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
660
660
|
return suspendResult;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
continue $sm;
|
|
664
664
|
case 9:
|
|
665
|
-
var tmp0_safe_receiver_0 = this.
|
|
665
|
+
var tmp0_safe_receiver_0 = this.k7e_1;
|
|
666
666
|
var tmp1_safe_receiver_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.d3h_1;
|
|
667
667
|
if (tmp1_safe_receiver_0 == null)
|
|
668
668
|
null;
|
|
@@ -670,14 +670,14 @@ function writeBody$slambda() {
|
|
|
670
670
|
close(tmp1_safe_receiver_0);
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
this.
|
|
674
|
-
if (this.
|
|
675
|
-
this.
|
|
673
|
+
this.t7e_1 = this.k7e_1;
|
|
674
|
+
if (this.t7e_1 == null) {
|
|
675
|
+
this.u7e_1 = null;
|
|
676
676
|
this.ac_1 = 11;
|
|
677
677
|
continue $sm;
|
|
678
678
|
} else {
|
|
679
679
|
this.ac_1 = 10;
|
|
680
|
-
suspendResult = join(this.
|
|
680
|
+
suspendResult = join(this.t7e_1, this);
|
|
681
681
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
682
682
|
return suspendResult;
|
|
683
683
|
}
|
|
@@ -686,11 +686,11 @@ function writeBody$slambda() {
|
|
|
686
686
|
|
|
687
687
|
case 10:
|
|
688
688
|
var tmp_5 = this;
|
|
689
|
-
tmp_5.
|
|
689
|
+
tmp_5.u7e_1 = Unit_instance;
|
|
690
690
|
this.ac_1 = 11;
|
|
691
691
|
continue $sm;
|
|
692
692
|
case 11:
|
|
693
|
-
var tmp3_safe_receiver_0 = this.
|
|
693
|
+
var tmp3_safe_receiver_0 = this.l7e_1.f3b();
|
|
694
694
|
var tmp4_safe_receiver_0 = tmp3_safe_receiver_0 == null ? null : unwrapCancellationException(tmp3_safe_receiver_0);
|
|
695
695
|
var tmp_6;
|
|
696
696
|
if (tmp4_safe_receiver_0 == null) {
|
|
@@ -712,8 +712,8 @@ function writeBody$slambda() {
|
|
|
712
712
|
throw tmp5_safe_receiver_0;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
if (this.
|
|
716
|
-
close(this.
|
|
715
|
+
if (this.m7e_1) {
|
|
716
|
+
close(this.l7e_1);
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
return Unit_instance;
|
|
@@ -732,8 +732,8 @@ function writeBody$slambda() {
|
|
|
732
732
|
while (true);
|
|
733
733
|
}
|
|
734
734
|
d36($this$launch, completion) {
|
|
735
|
-
var i = new (writeBody$slambda())(this.
|
|
736
|
-
i.
|
|
735
|
+
var i = new (writeBody$slambda())(this.h7e_1, this.i7e_1, this.j7e_1, this.k7e_1, this.l7e_1, this.m7e_1, completion);
|
|
736
|
+
i.n7e_1 = $this$launch;
|
|
737
737
|
return i;
|
|
738
738
|
}
|
|
739
739
|
}
|
|
@@ -763,7 +763,7 @@ function withoutClosePropagation$slambda() {
|
|
|
763
763
|
constructor($this_withoutClosePropagation, resultContinuation, $box) {
|
|
764
764
|
if ($box === VOID)
|
|
765
765
|
$box = {};
|
|
766
|
-
$box.
|
|
766
|
+
$box.d7f_1 = $this_withoutClosePropagation;
|
|
767
767
|
super(resultContinuation, $box);
|
|
768
768
|
}
|
|
769
769
|
o4f($this$reader, $completion) {
|
|
@@ -784,7 +784,7 @@ function withoutClosePropagation$slambda() {
|
|
|
784
784
|
case 0:
|
|
785
785
|
this.bc_1 = 3;
|
|
786
786
|
this.ac_1 = 1;
|
|
787
|
-
suspendResult = copyTo(this.
|
|
787
|
+
suspendResult = copyTo(this.e7f_1.f3h_1, this.d7f_1, new (Long())(-1, 2147483647), this);
|
|
788
788
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
789
789
|
return suspendResult;
|
|
790
790
|
}
|
|
@@ -792,7 +792,7 @@ function withoutClosePropagation$slambda() {
|
|
|
792
792
|
continue $sm;
|
|
793
793
|
case 1:
|
|
794
794
|
this.ac_1 = 2;
|
|
795
|
-
suspendResult = this.
|
|
795
|
+
suspendResult = this.d7f_1.z3a(this);
|
|
796
796
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
797
797
|
return suspendResult;
|
|
798
798
|
}
|
|
@@ -815,8 +815,8 @@ function withoutClosePropagation$slambda() {
|
|
|
815
815
|
while (true);
|
|
816
816
|
}
|
|
817
817
|
p4f($this$reader, completion) {
|
|
818
|
-
var i = new (withoutClosePropagation$slambda())(this.
|
|
819
|
-
i.
|
|
818
|
+
var i = new (withoutClosePropagation$slambda())(this.d7f_1, completion);
|
|
819
|
+
i.e7f_1 = $this$reader;
|
|
820
820
|
return i;
|
|
821
821
|
}
|
|
822
822
|
}
|
|
@@ -839,10 +839,10 @@ function $writeHeadersCOROUTINE$() {
|
|
|
839
839
|
class $ extends CoroutineImpl() {
|
|
840
840
|
constructor(request, output, overProxy, closeChannel, resultContinuation) {
|
|
841
841
|
super(resultContinuation);
|
|
842
|
-
this.
|
|
843
|
-
this.
|
|
844
|
-
this.
|
|
845
|
-
this.
|
|
842
|
+
this.a7a_1 = request;
|
|
843
|
+
this.b7a_1 = output;
|
|
844
|
+
this.c7a_1 = overProxy;
|
|
845
|
+
this.d7a_1 = closeChannel;
|
|
846
846
|
}
|
|
847
847
|
ic() {
|
|
848
848
|
var suspendResult = this.cc_1;
|
|
@@ -852,26 +852,26 @@ function $writeHeadersCOROUTINE$() {
|
|
|
852
852
|
switch (tmp) {
|
|
853
853
|
case 0:
|
|
854
854
|
this.bc_1 = 9;
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
859
|
-
this.
|
|
855
|
+
this.e7a_1 = new (RequestResponseBuilder())();
|
|
856
|
+
this.f7a_1 = this.a7a_1.r56_1;
|
|
857
|
+
this.g7a_1 = this.a7a_1.q56_1;
|
|
858
|
+
this.h7a_1 = this.a7a_1.s56_1;
|
|
859
|
+
this.i7a_1 = this.a7a_1.t56_1;
|
|
860
860
|
var tmp_0 = this;
|
|
861
|
-
var tmp0_elvis_lhs = this.
|
|
861
|
+
var tmp0_elvis_lhs = this.h7a_1.c3s(HttpHeaders_getInstance().v41_1);
|
|
862
862
|
var tmp_1;
|
|
863
863
|
if (tmp0_elvis_lhs == null) {
|
|
864
|
-
var tmp1_safe_receiver = this.
|
|
864
|
+
var tmp1_safe_receiver = this.i7a_1.t4b();
|
|
865
865
|
tmp_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
866
866
|
} else {
|
|
867
867
|
tmp_1 = tmp0_elvis_lhs;
|
|
868
868
|
}
|
|
869
869
|
|
|
870
|
-
tmp_0.
|
|
871
|
-
this.
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
874
|
-
this.
|
|
870
|
+
tmp_0.j7a_1 = tmp_1;
|
|
871
|
+
this.k7a_1 = this.h7a_1.c3s(HttpHeaders_getInstance().c44_1);
|
|
872
|
+
this.l7a_1 = this.i7a_1.z45().c3s(HttpHeaders_getInstance().c44_1);
|
|
873
|
+
this.m7a_1 = isChunked(this.j7a_1, this.l7a_1, this.k7a_1);
|
|
874
|
+
this.n7a_1 = this.h7a_1.c3s(HttpHeaders_getInstance().g42_1);
|
|
875
875
|
this.ac_1 = 1;
|
|
876
876
|
continue $sm;
|
|
877
877
|
case 1:
|
|
@@ -879,57 +879,57 @@ function $writeHeadersCOROUTINE$() {
|
|
|
879
879
|
this.bc_1 = 4;
|
|
880
880
|
var tmp_2 = this;
|
|
881
881
|
var tmp_3;
|
|
882
|
-
if (this.
|
|
883
|
-
var this_0 = URLBuilder(this.
|
|
882
|
+
if (this.g7a_1.x49_1.j()) {
|
|
883
|
+
var this_0 = URLBuilder(this.g7a_1);
|
|
884
884
|
set_encodedPath(this_0, '/');
|
|
885
885
|
tmp_3 = this_0.z1i();
|
|
886
886
|
} else {
|
|
887
|
-
tmp_3 = this.
|
|
887
|
+
tmp_3 = this.g7a_1;
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
-
tmp_2.
|
|
891
|
-
this.
|
|
892
|
-
this.
|
|
893
|
-
if (!this.
|
|
890
|
+
tmp_2.p7a_1 = tmp_3;
|
|
891
|
+
this.q7a_1 = this.c7a_1 ? this.p7a_1.toString() : get_fullPath(this.p7a_1);
|
|
892
|
+
this.e7a_1.o4o(this.f7a_1, this.q7a_1, Companion_getInstance_1().k46_1.toString());
|
|
893
|
+
if (!this.h7a_1.j3t(HttpHeaders_getInstance().k42_1)) {
|
|
894
894
|
var tmp_4;
|
|
895
|
-
if (this.
|
|
896
|
-
tmp_4 = this.
|
|
895
|
+
if (this.g7a_1.a4a_1.m49_1 === this.g7a_1.g4b()) {
|
|
896
|
+
tmp_4 = this.g7a_1.o49_1;
|
|
897
897
|
} else {
|
|
898
|
-
tmp_4 = get_hostWithPort(this.
|
|
898
|
+
tmp_4 = get_hostWithPort(this.g7a_1);
|
|
899
899
|
}
|
|
900
900
|
var host = tmp_4;
|
|
901
|
-
this.
|
|
901
|
+
this.e7a_1.p4o(HttpHeaders_getInstance().k42_1, host);
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
var tmp_5 = this;
|
|
905
|
-
var tmp_6 = this.
|
|
906
|
-
tmp_5.
|
|
907
|
-
if (!(this.
|
|
908
|
-
if (get_supportsRequestBody(this.
|
|
909
|
-
this.
|
|
905
|
+
var tmp_6 = this.i7a_1;
|
|
906
|
+
tmp_5.r7a_1 = !(tmp_6 instanceof NoContent());
|
|
907
|
+
if (!(this.j7a_1 == null)) {
|
|
908
|
+
if (get_supportsRequestBody(this.f7a_1) || this.r7a_1) {
|
|
909
|
+
this.e7a_1.p4o(HttpHeaders_getInstance().v41_1, this.j7a_1);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
|
|
913
|
-
mergeHeaders(this.
|
|
913
|
+
mergeHeaders(this.h7a_1, this.i7a_1, writeHeaders$lambda(this.e7a_1));
|
|
914
914
|
var tmp_7;
|
|
915
|
-
if (this.
|
|
916
|
-
var tmp_8 = this.
|
|
915
|
+
if (this.m7a_1 && this.k7a_1 == null && this.l7a_1 == null) {
|
|
916
|
+
var tmp_8 = this.i7a_1;
|
|
917
917
|
tmp_7 = !(tmp_8 instanceof NoContent());
|
|
918
918
|
} else {
|
|
919
919
|
tmp_7 = false;
|
|
920
920
|
}
|
|
921
921
|
|
|
922
922
|
if (tmp_7) {
|
|
923
|
-
this.
|
|
923
|
+
this.e7a_1.p4o(HttpHeaders_getInstance().c44_1, 'chunked');
|
|
924
924
|
}
|
|
925
925
|
|
|
926
|
-
if (expectContinue(this.
|
|
927
|
-
this.
|
|
926
|
+
if (expectContinue(this.n7a_1, this.i7a_1)) {
|
|
927
|
+
this.e7a_1.p4o(HttpHeaders_getInstance().g42_1, ensureNotNull(this.n7a_1));
|
|
928
928
|
}
|
|
929
929
|
|
|
930
|
-
this.
|
|
930
|
+
this.e7a_1.q4o();
|
|
931
931
|
this.ac_1 = 2;
|
|
932
|
-
suspendResult = writePacket(this.
|
|
932
|
+
suspendResult = writePacket(this.b7a_1, this.e7a_1.z1i(), this);
|
|
933
933
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
934
934
|
return suspendResult;
|
|
935
935
|
}
|
|
@@ -937,14 +937,14 @@ function $writeHeadersCOROUTINE$() {
|
|
|
937
937
|
continue $sm;
|
|
938
938
|
case 2:
|
|
939
939
|
this.ac_1 = 3;
|
|
940
|
-
suspendResult = this.
|
|
940
|
+
suspendResult = this.b7a_1.z3a(this);
|
|
941
941
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
942
942
|
return suspendResult;
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
continue $sm;
|
|
946
946
|
case 3:
|
|
947
|
-
this.
|
|
947
|
+
this.o7a_1 = suspendResult;
|
|
948
948
|
this.bc_1 = 9;
|
|
949
949
|
this.ac_1 = 7;
|
|
950
950
|
continue $sm;
|
|
@@ -952,10 +952,10 @@ function $writeHeadersCOROUTINE$() {
|
|
|
952
952
|
this.bc_1 = 8;
|
|
953
953
|
var tmp_9 = this.dc_1;
|
|
954
954
|
if (tmp_9 instanceof Error) {
|
|
955
|
-
this.
|
|
956
|
-
if (this.
|
|
955
|
+
this.s7a_1 = this.dc_1;
|
|
956
|
+
if (this.d7a_1) {
|
|
957
957
|
this.ac_1 = 5;
|
|
958
|
-
suspendResult = this.
|
|
958
|
+
suspendResult = this.b7a_1.k3b(this);
|
|
959
959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
960
960
|
return suspendResult;
|
|
961
961
|
}
|
|
@@ -973,15 +973,15 @@ function $writeHeadersCOROUTINE$() {
|
|
|
973
973
|
continue $sm;
|
|
974
974
|
case 6:
|
|
975
975
|
var tmp_10 = this;
|
|
976
|
-
throw this.
|
|
976
|
+
throw this.s7a_1;
|
|
977
977
|
case 7:
|
|
978
978
|
this.bc_1 = 9;
|
|
979
|
-
this.
|
|
979
|
+
this.e7a_1.m2o();
|
|
980
980
|
return Unit_instance;
|
|
981
981
|
case 8:
|
|
982
982
|
this.bc_1 = 9;
|
|
983
983
|
var t = this.dc_1;
|
|
984
|
-
this.
|
|
984
|
+
this.e7a_1.m2o();
|
|
985
985
|
throw t;
|
|
986
986
|
case 9:
|
|
987
987
|
throw this.dc_1;
|
|
@@ -1009,9 +1009,9 @@ function $startTunnelCOROUTINE$() {
|
|
|
1009
1009
|
class $ extends CoroutineImpl() {
|
|
1010
1010
|
constructor(request, output, input, resultContinuation) {
|
|
1011
1011
|
super(resultContinuation);
|
|
1012
|
-
this.
|
|
1013
|
-
this.
|
|
1014
|
-
this.
|
|
1012
|
+
this.b7b_1 = request;
|
|
1013
|
+
this.c7b_1 = output;
|
|
1014
|
+
this.d7b_1 = input;
|
|
1015
1015
|
}
|
|
1016
1016
|
ic() {
|
|
1017
1017
|
var suspendResult = this.cc_1;
|
|
@@ -1021,39 +1021,39 @@ function $startTunnelCOROUTINE$() {
|
|
|
1021
1021
|
switch (tmp) {
|
|
1022
1022
|
case 0:
|
|
1023
1023
|
this.bc_1 = 17;
|
|
1024
|
-
this.
|
|
1024
|
+
this.e7b_1 = new (RequestResponseBuilder())();
|
|
1025
1025
|
this.ac_1 = 1;
|
|
1026
1026
|
continue $sm;
|
|
1027
1027
|
case 1:
|
|
1028
1028
|
this.bc_1 = 16;
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
1031
|
-
this.
|
|
1032
|
-
this.
|
|
1033
|
-
var tmp0_safe_receiver = this.
|
|
1029
|
+
this.g7b_1 = get_hostWithPort(this.b7b_1.q56_1);
|
|
1030
|
+
this.e7b_1.o4o(new (HttpMethod())('CONNECT'), this.g7b_1, Companion_getInstance_1().k46_1.toString());
|
|
1031
|
+
this.e7b_1.p4o(HttpHeaders_getInstance().k42_1, this.g7b_1);
|
|
1032
|
+
this.e7b_1.p4o('Proxy-Connection', 'Keep-Alive');
|
|
1033
|
+
var tmp0_safe_receiver = this.b7b_1.s56_1.c3s(HttpHeaders_getInstance().e44_1);
|
|
1034
1034
|
if (tmp0_safe_receiver == null)
|
|
1035
1035
|
null;
|
|
1036
1036
|
else {
|
|
1037
|
-
this.
|
|
1037
|
+
this.e7b_1.p4o(HttpHeaders_getInstance().e44_1, tmp0_safe_receiver);
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
|
-
var tmp1_safe_receiver = this.
|
|
1040
|
+
var tmp1_safe_receiver = this.b7b_1.s56_1.c3s(HttpHeaders_getInstance().g43_1);
|
|
1041
1041
|
if (tmp1_safe_receiver == null)
|
|
1042
1042
|
null;
|
|
1043
1043
|
else {
|
|
1044
|
-
this.
|
|
1044
|
+
this.e7b_1.p4o(HttpHeaders_getInstance().g43_1, tmp1_safe_receiver);
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
|
-
var tmp2_safe_receiver = this.
|
|
1047
|
+
var tmp2_safe_receiver = this.b7b_1.s56_1.c3s(HttpHeaders_getInstance().i43_1);
|
|
1048
1048
|
if (tmp2_safe_receiver == null)
|
|
1049
1049
|
null;
|
|
1050
1050
|
else {
|
|
1051
|
-
this.
|
|
1051
|
+
this.e7b_1.p4o(HttpHeaders_getInstance().i43_1, tmp2_safe_receiver);
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
|
-
this.
|
|
1054
|
+
this.e7b_1.q4o();
|
|
1055
1055
|
this.ac_1 = 2;
|
|
1056
|
-
suspendResult = writePacket(this.
|
|
1056
|
+
suspendResult = writePacket(this.c7b_1, this.e7b_1.z1i(), this);
|
|
1057
1057
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1058
1058
|
return suspendResult;
|
|
1059
1059
|
}
|
|
@@ -1061,7 +1061,7 @@ function $startTunnelCOROUTINE$() {
|
|
|
1061
1061
|
continue $sm;
|
|
1062
1062
|
case 2:
|
|
1063
1063
|
this.ac_1 = 3;
|
|
1064
|
-
suspendResult = this.
|
|
1064
|
+
suspendResult = this.c7b_1.z3a(this);
|
|
1065
1065
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1066
1066
|
return suspendResult;
|
|
1067
1067
|
}
|
|
@@ -1069,30 +1069,30 @@ function $startTunnelCOROUTINE$() {
|
|
|
1069
1069
|
continue $sm;
|
|
1070
1070
|
case 3:
|
|
1071
1071
|
this.ac_1 = 4;
|
|
1072
|
-
suspendResult = parseResponse(this.
|
|
1072
|
+
suspendResult = parseResponse(this.d7b_1, this);
|
|
1073
1073
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1074
1074
|
return suspendResult;
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
1077
|
continue $sm;
|
|
1078
1078
|
case 4:
|
|
1079
|
-
this.
|
|
1079
|
+
this.h7b_1 = suspendResult;
|
|
1080
1080
|
var tmp_0 = this;
|
|
1081
1081
|
var tmp_1;
|
|
1082
|
-
if (this.
|
|
1082
|
+
if (this.h7b_1 == null) {
|
|
1083
1083
|
throw ClosedReadChannelException().b39(EOFException().m2r('Failed to parse CONNECT response: unexpected EOF'));
|
|
1084
1084
|
} else {
|
|
1085
|
-
tmp_1 = this.
|
|
1085
|
+
tmp_1 = this.h7b_1;
|
|
1086
1086
|
}
|
|
1087
1087
|
|
|
1088
|
-
tmp_0.
|
|
1088
|
+
tmp_0.i7b_1 = tmp_1;
|
|
1089
1089
|
var tmp_2 = this;
|
|
1090
|
-
tmp_2.
|
|
1090
|
+
tmp_2.j7b_1 = this.i7b_1;
|
|
1091
1091
|
this.ac_1 = 5;
|
|
1092
1092
|
continue $sm;
|
|
1093
1093
|
case 5:
|
|
1094
|
-
this.
|
|
1095
|
-
this.
|
|
1094
|
+
this.l7b_1 = this.j7b_1;
|
|
1095
|
+
this.m7b_1 = null;
|
|
1096
1096
|
this.ac_1 = 6;
|
|
1097
1097
|
continue $sm;
|
|
1098
1098
|
case 6:
|
|
@@ -1102,26 +1102,26 @@ function $startTunnelCOROUTINE$() {
|
|
|
1102
1102
|
this.bc_1 = 12;
|
|
1103
1103
|
this.bc_1 = 11;
|
|
1104
1104
|
var tmp_3 = this;
|
|
1105
|
-
tmp_3.
|
|
1106
|
-
this.
|
|
1107
|
-
if (!((this.
|
|
1105
|
+
tmp_3.o7b_1 = this.l7b_1;
|
|
1106
|
+
this.p7b_1 = this.o7b_1;
|
|
1107
|
+
if (!((this.i7b_1.j4n_1 / 200 | 0) === 1)) {
|
|
1108
1108
|
throw IOException().z2u('Can not establish tunnel connection');
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
1111
|
-
this.
|
|
1112
|
-
if (this.
|
|
1113
|
-
this.
|
|
1111
|
+
this.q7b_1 = this.i7b_1.l4n_1.c3s(HttpHeaders_getInstance().v41_1);
|
|
1112
|
+
if (this.q7b_1 == null) {
|
|
1113
|
+
this.r7b_1 = null;
|
|
1114
1114
|
this.ac_1 = 9;
|
|
1115
1115
|
continue $sm;
|
|
1116
1116
|
} else {
|
|
1117
1117
|
var tmp_4 = this;
|
|
1118
|
-
tmp_4.
|
|
1119
|
-
this.
|
|
1118
|
+
tmp_4.s7b_1 = this.q7b_1;
|
|
1119
|
+
this.t7b_1 = this.s7b_1;
|
|
1120
1120
|
var tmp_5 = this;
|
|
1121
|
-
tmp_5.
|
|
1122
|
-
this.
|
|
1121
|
+
tmp_5.u7b_1 = this.t7b_1;
|
|
1122
|
+
this.v7b_1 = this.u7b_1;
|
|
1123
1123
|
this.ac_1 = 8;
|
|
1124
|
-
suspendResult = discard(this.
|
|
1124
|
+
suspendResult = discard(this.d7b_1, toLong(toString(this.v7b_1)), this);
|
|
1125
1125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1126
1126
|
return suspendResult;
|
|
1127
1127
|
}
|
|
@@ -1129,19 +1129,19 @@ function $startTunnelCOROUTINE$() {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
case 8:
|
|
1132
|
-
this.
|
|
1132
|
+
this.r7b_1 = suspendResult;
|
|
1133
1133
|
this.ac_1 = 9;
|
|
1134
1134
|
continue $sm;
|
|
1135
1135
|
case 9:
|
|
1136
|
-
this.
|
|
1136
|
+
this.n7b_1 = this.r7b_1;
|
|
1137
1137
|
this.ac_1 = 10;
|
|
1138
1138
|
var tmp_6 = this;
|
|
1139
1139
|
continue $sm;
|
|
1140
1140
|
case 10:
|
|
1141
|
-
var tmp_7 = this.
|
|
1141
|
+
var tmp_7 = this.n7b_1;
|
|
1142
1142
|
this.bc_1 = 16;
|
|
1143
|
-
closeFinally(this.
|
|
1144
|
-
this.
|
|
1143
|
+
closeFinally(this.l7b_1, this.m7b_1);
|
|
1144
|
+
this.k7b_1 = tmp_7;
|
|
1145
1145
|
this.ac_1 = 14;
|
|
1146
1146
|
continue $sm;
|
|
1147
1147
|
case 11:
|
|
@@ -1150,7 +1150,7 @@ function $startTunnelCOROUTINE$() {
|
|
|
1150
1150
|
if (tmp_8 instanceof Error) {
|
|
1151
1151
|
var e = this.dc_1;
|
|
1152
1152
|
var tmp_9 = this;
|
|
1153
|
-
this.
|
|
1153
|
+
this.m7b_1 = e;
|
|
1154
1154
|
throw e;
|
|
1155
1155
|
} else {
|
|
1156
1156
|
throw this.dc_1;
|
|
@@ -1159,11 +1159,11 @@ function $startTunnelCOROUTINE$() {
|
|
|
1159
1159
|
case 12:
|
|
1160
1160
|
this.bc_1 = 16;
|
|
1161
1161
|
var t = this.dc_1;
|
|
1162
|
-
closeFinally(this.
|
|
1162
|
+
closeFinally(this.l7b_1, this.m7b_1);
|
|
1163
1163
|
throw t;
|
|
1164
1164
|
case 13:
|
|
1165
1165
|
this.bc_1 = 16;
|
|
1166
|
-
closeFinally(this.
|
|
1166
|
+
closeFinally(this.l7b_1, this.m7b_1);
|
|
1167
1167
|
if (false) {
|
|
1168
1168
|
this.ac_1 = 5;
|
|
1169
1169
|
continue $sm;
|
|
@@ -1172,19 +1172,19 @@ function $startTunnelCOROUTINE$() {
|
|
|
1172
1172
|
this.ac_1 = 14;
|
|
1173
1173
|
continue $sm;
|
|
1174
1174
|
case 14:
|
|
1175
|
-
this.
|
|
1175
|
+
this.f7b_1 = this.k7b_1;
|
|
1176
1176
|
this.bc_1 = 17;
|
|
1177
1177
|
this.ac_1 = 15;
|
|
1178
1178
|
continue $sm;
|
|
1179
1179
|
case 15:
|
|
1180
|
-
this.
|
|
1180
|
+
this.f7b_1;
|
|
1181
1181
|
this.bc_1 = 17;
|
|
1182
|
-
this.
|
|
1182
|
+
this.e7b_1.m2o();
|
|
1183
1183
|
return Unit_instance;
|
|
1184
1184
|
case 16:
|
|
1185
1185
|
this.bc_1 = 17;
|
|
1186
1186
|
var t_0 = this.dc_1;
|
|
1187
|
-
this.
|
|
1187
|
+
this.e7b_1.m2o();
|
|
1188
1188
|
throw t_0;
|
|
1189
1189
|
case 17:
|
|
1190
1190
|
throw this.dc_1;
|
|
@@ -1212,9 +1212,9 @@ function $processOutgoingContentCOROUTINE$() {
|
|
|
1212
1212
|
class $ extends CoroutineImpl() {
|
|
1213
1213
|
constructor(request, body, channel, resultContinuation) {
|
|
1214
1214
|
super(resultContinuation);
|
|
1215
|
-
this.
|
|
1216
|
-
this.
|
|
1217
|
-
this.
|
|
1215
|
+
this.e7c_1 = request;
|
|
1216
|
+
this.f7c_1 = body;
|
|
1217
|
+
this.g7c_1 = channel;
|
|
1218
1218
|
}
|
|
1219
1219
|
ic() {
|
|
1220
1220
|
var suspendResult = this.cc_1;
|
|
@@ -1224,50 +1224,50 @@ function $processOutgoingContentCOROUTINE$() {
|
|
|
1224
1224
|
switch (tmp) {
|
|
1225
1225
|
case 0:
|
|
1226
1226
|
this.bc_1 = 6;
|
|
1227
|
-
this.
|
|
1228
|
-
var tmp_0 = this.
|
|
1227
|
+
this.h7c_1 = this.f7c_1;
|
|
1228
|
+
var tmp_0 = this.h7c_1;
|
|
1229
1229
|
if (tmp_0 instanceof ByteArrayContent()) {
|
|
1230
1230
|
this.ac_1 = 4;
|
|
1231
|
-
suspendResult = writeFully(this.
|
|
1231
|
+
suspendResult = writeFully(this.g7c_1, this.f7c_1.u4b(), VOID, VOID, this);
|
|
1232
1232
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1233
1233
|
return suspendResult;
|
|
1234
1234
|
}
|
|
1235
1235
|
continue $sm;
|
|
1236
1236
|
} else {
|
|
1237
|
-
var tmp_1 = this.
|
|
1237
|
+
var tmp_1 = this.h7c_1;
|
|
1238
1238
|
if (tmp_1 instanceof ReadChannelContent()) {
|
|
1239
1239
|
this.ac_1 = 3;
|
|
1240
|
-
suspendResult = copyAndClose(this.
|
|
1240
|
+
suspendResult = copyAndClose(this.f7c_1.x4b(), this.g7c_1, this);
|
|
1241
1241
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1242
1242
|
return suspendResult;
|
|
1243
1243
|
}
|
|
1244
1244
|
continue $sm;
|
|
1245
1245
|
} else {
|
|
1246
|
-
var tmp_2 = this.
|
|
1246
|
+
var tmp_2 = this.h7c_1;
|
|
1247
1247
|
if (tmp_2 instanceof WriteChannelContent()) {
|
|
1248
1248
|
this.ac_1 = 2;
|
|
1249
|
-
suspendResult = this.
|
|
1249
|
+
suspendResult = this.f7c_1.z4b(this.g7c_1, this);
|
|
1250
1250
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1251
1251
|
return suspendResult;
|
|
1252
1252
|
}
|
|
1253
1253
|
continue $sm;
|
|
1254
1254
|
} else {
|
|
1255
|
-
var tmp_3 = this.
|
|
1255
|
+
var tmp_3 = this.h7c_1;
|
|
1256
1256
|
if (tmp_3 instanceof ContentWrapper()) {
|
|
1257
1257
|
this.ac_1 = 1;
|
|
1258
|
-
suspendResult = processOutgoingContent(this.
|
|
1258
|
+
suspendResult = processOutgoingContent(this.e7c_1, this.f7c_1.d4c(), this.g7c_1, this);
|
|
1259
1259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1260
1260
|
return suspendResult;
|
|
1261
1261
|
}
|
|
1262
1262
|
continue $sm;
|
|
1263
1263
|
} else {
|
|
1264
|
-
var tmp_4 = this.
|
|
1264
|
+
var tmp_4 = this.h7c_1;
|
|
1265
1265
|
if (tmp_4 instanceof ProtocolUpgrade()) {
|
|
1266
1266
|
var tmp_5 = this;
|
|
1267
1267
|
var message = 'unreachable code';
|
|
1268
1268
|
throw IllegalStateException().o4(toString(message));
|
|
1269
1269
|
} else {
|
|
1270
|
-
var tmp_6 = this.
|
|
1270
|
+
var tmp_6 = this.h7c_1;
|
|
1271
1271
|
if (tmp_6 instanceof NoContent()) {
|
|
1272
1272
|
var tmp_7 = this;
|
|
1273
1273
|
var message_0 = 'unreachable code';
|
|
@@ -1285,21 +1285,21 @@ function $processOutgoingContentCOROUTINE$() {
|
|
|
1285
1285
|
break;
|
|
1286
1286
|
case 1:
|
|
1287
1287
|
var tmp_9 = this;
|
|
1288
|
-
tmp_9.
|
|
1288
|
+
tmp_9.i7c_1 = Unit_instance;
|
|
1289
1289
|
this.ac_1 = 5;
|
|
1290
1290
|
continue $sm;
|
|
1291
1291
|
case 2:
|
|
1292
1292
|
var tmp_10 = this;
|
|
1293
|
-
tmp_10.
|
|
1293
|
+
tmp_10.i7c_1 = Unit_instance;
|
|
1294
1294
|
this.ac_1 = 5;
|
|
1295
1295
|
continue $sm;
|
|
1296
1296
|
case 3:
|
|
1297
|
-
this.
|
|
1297
|
+
this.i7c_1 = suspendResult;
|
|
1298
1298
|
this.ac_1 = 5;
|
|
1299
1299
|
continue $sm;
|
|
1300
1300
|
case 4:
|
|
1301
1301
|
var tmp_11 = this;
|
|
1302
|
-
tmp_11.
|
|
1302
|
+
tmp_11.i7c_1 = Unit_instance;
|
|
1303
1303
|
this.ac_1 = 5;
|
|
1304
1304
|
continue $sm;
|
|
1305
1305
|
case 5:
|