* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2261 lines
47 KiB
Smali
2261 lines
47 KiB
Smali
.class public final Lokhttp3/internal/connection/RealConnection;
|
|
.super Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lokhttp3/Connection;
|
|
.implements Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
.implements Lokhttp3/internal/concurrent/Lockable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/internal/connection/RealConnection$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u00032\u00020\u0004:\u0001\u0005\u00a8\u0006\u0006"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/internal/connection/RealConnection;",
|
|
"Lokhttp3/internal/http2/Http2Connection$Listener;",
|
|
"Lokhttp3/Connection;",
|
|
"Lokhttp3/internal/http/ExchangeCodec$Carrier;",
|
|
"Lokhttp3/internal/concurrent/Lockable;",
|
|
"Companion",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nRealConnection.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RealConnection.kt\nokhttp3/internal/connection/RealConnection\n+ 2 Lockable.kt\nokhttp3/internal/concurrent/LockableKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,463:1\n63#2:464\n63#2:465\n63#2:466\n55#2,4:467\n55#2,4:474\n49#2,4:478\n63#2:482\n63#2:483\n63#2:484\n1761#3,3:471\n*S KotlinDebug\n*F\n+ 1 RealConnection.kt\nokhttp3/internal/connection/RealConnection\n*L\n133#1:464\n141#1:465\n147#1:466\n185#1:467,4\n241#1:474,4\n301#1:478,4\n318#1:482\n337#1:483\n372#1:484\n234#1:471,3\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final f:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
.field public final g:Lokhttp3/Route;
|
|
|
|
.field public final h:Ljava/net/Socket;
|
|
|
|
.field public final i:Ljava/net/Socket;
|
|
|
|
.field public final j:Lokhttp3/Handshake;
|
|
|
|
.field public final k:Lokhttp3/Protocol;
|
|
|
|
.field public final l:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.field public m:Lokhttp3/internal/http2/Http2Connection;
|
|
|
|
.field public n:Z
|
|
|
|
.field public o:Z
|
|
|
|
.field public p:I
|
|
|
|
.field public q:I
|
|
|
|
.field public r:I
|
|
|
|
.field public s:I
|
|
|
|
.field public final t:Ljava/util/ArrayList;
|
|
|
|
.field public u:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lokhttp3/internal/concurrent/TaskRunner;Lokhttp3/internal/connection/RealConnectionPool;Lokhttp3/Route;Ljava/net/Socket;Ljava/net/Socket;Lokhttp3/Handshake;Lokhttp3/Protocol;Lokhttp3/internal/connection/BufferedSocketKt$asBufferedSocket$1;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "taskRunner"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "connectionPool"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const-string p2, "route"
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {p3, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
const-string p2, "rawSocket"
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-static {p4, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
const-string p2, "javaNetSocket"
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-static {p5, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
const-string p2, "protocol"
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-static {p7, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
const-string p2, "socket"
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-static {p8, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
const-string p2, "connectionListener"
|
|
|
|
.line 37
|
|
.line 38
|
|
sget-object v0, Lokhttp3/internal/connection/ConnectionListener;->a:Lokhttp3/internal/connection/ConnectionListener$Companion$NONE$1;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-static {v0, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
iput-object p1, p0, Lokhttp3/internal/connection/RealConnection;->f:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
.line 47
|
|
.line 48
|
|
iput-object p3, p0, Lokhttp3/internal/connection/RealConnection;->g:Lokhttp3/Route;
|
|
|
|
.line 49
|
|
.line 50
|
|
iput-object p4, p0, Lokhttp3/internal/connection/RealConnection;->h:Ljava/net/Socket;
|
|
|
|
.line 51
|
|
.line 52
|
|
iput-object p5, p0, Lokhttp3/internal/connection/RealConnection;->i:Ljava/net/Socket;
|
|
|
|
.line 53
|
|
.line 54
|
|
iput-object p6, p0, Lokhttp3/internal/connection/RealConnection;->j:Lokhttp3/Handshake;
|
|
|
|
.line 55
|
|
.line 56
|
|
iput-object p7, p0, Lokhttp3/internal/connection/RealConnection;->k:Lokhttp3/Protocol;
|
|
|
|
.line 57
|
|
.line 58
|
|
iput-object p8, p0, Lokhttp3/internal/connection/RealConnection;->l:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 59
|
|
.line 60
|
|
const/4 p1, 0x1
|
|
|
|
.line 61
|
|
iput p1, p0, Lokhttp3/internal/connection/RealConnection;->s:I
|
|
|
|
.line 62
|
|
.line 63
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
iput-object p1, p0, Lokhttp3/internal/connection/RealConnection;->t:Ljava/util/ArrayList;
|
|
|
|
.line 69
|
|
.line 70
|
|
const-wide p1, 0x7fffffffffffffffL
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
iput-wide p1, p0, Lokhttp3/internal/connection/RealConnection;->u:J
|
|
|
|
.line 76
|
|
.line 77
|
|
return-void
|
|
.end method
|
|
|
|
.method public static d(Lokhttp3/OkHttpClient;Lokhttp3/Route;Ljava/io/IOException;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
const-string v0, "client"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "failedRoute"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const-string v0, "failure"
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, p1, Lokhttp3/Route;->b:Ljava/net/Proxy;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object v0
|
|
|
|
.line 22
|
|
sget-object v1, Ljava/net/Proxy$Type;->DIRECT:Ljava/net/Proxy$Type;
|
|
|
|
.line 23
|
|
.line 24
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 25
|
|
.line 26
|
|
iget-object v0, p1, Lokhttp3/Route;->a:Lokhttp3/Address;
|
|
|
|
.line 27
|
|
.line 28
|
|
iget-object v1, v0, Lokhttp3/Address;->g:Ljava/net/ProxySelector;
|
|
|
|
.line 29
|
|
.line 30
|
|
iget-object v0, v0, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {v0}, Lokhttp3/HttpUrl;->g()Ljava/net/URI;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result-object v0
|
|
|
|
.line 36
|
|
iget-object v2, p1, Lokhttp3/Route;->b:Ljava/net/Proxy;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {v2}, Ljava/net/Proxy;->address()Ljava/net/SocketAddress;
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result-object v2
|
|
|
|
.line 42
|
|
invoke-virtual {v1, v0, v2, p2}, Ljava/net/ProxySelector;->connectFailed(Ljava/net/URI;Ljava/net/SocketAddress;Ljava/io/IOException;)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
:cond_0
|
|
iget-object p0, p0, Lokhttp3/OkHttpClient;->y:Lokhttp3/internal/connection/RouteDatabase;
|
|
|
|
.line 46
|
|
.line 47
|
|
monitor-enter p0
|
|
|
|
.line 48
|
|
:try_start_0
|
|
const-string p2, "failedRoute"
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
iget-object p2, p0, Lokhttp3/internal/connection/RouteDatabase;->a:Ljava/util/LinkedHashSet;
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-interface {p2, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
monitor-exit p0
|
|
|
|
.line 59
|
|
return-void
|
|
|
|
.line 60
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 61
|
|
:try_start_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 62
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lokhttp3/internal/http2/Http2Connection;Lokhttp3/internal/http2/Settings;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "connection"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string p1, "settings"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
monitor-enter p0
|
|
|
|
.line 12
|
|
:try_start_0
|
|
iget p1, p2, Lokhttp3/internal/http2/Settings;->a:I
|
|
|
|
.line 13
|
|
.line 14
|
|
and-int/lit8 p1, p1, 0x8
|
|
|
|
.line 15
|
|
.line 16
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
iget-object p1, p2, Lokhttp3/internal/http2/Settings;->b:[I
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 p2, 0x3
|
|
|
|
.line 21
|
|
aget p1, p1, p2
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_0
|
|
const p1, 0x7fffffff
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
:goto_0
|
|
iput p1, p0, Lokhttp3/internal/connection/RealConnection;->s:I
|
|
|
|
.line 28
|
|
.line 29
|
|
sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 30
|
|
.line 31
|
|
monitor-exit p0
|
|
|
|
.line 32
|
|
return-void
|
|
|
|
.line 33
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 34
|
|
monitor-exit p0
|
|
|
|
.line 35
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final b(Lokhttp3/internal/connection/RealCall;Ljava/io/IOException;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-string v0, "call"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
monitor-enter p0
|
|
|
|
.line 7
|
|
:try_start_0
|
|
instance-of v0, p2, Lokhttp3/internal/http2/StreamResetException;
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v1, 0x1
|
|
|
|
.line 10
|
|
const/4 v2, 0x0
|
|
|
|
.line 11
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 12
|
|
.line 13
|
|
move-object v0, p2
|
|
|
|
.line 14
|
|
check-cast v0, Lokhttp3/internal/http2/StreamResetException;
|
|
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, v0, Lokhttp3/internal/http2/StreamResetException;->c:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.line 17
|
|
.line 18
|
|
sget-object v3, Lokhttp3/internal/http2/ErrorCode;->k:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.line 19
|
|
.line 20
|
|
if-ne v0, v3, :cond_0
|
|
|
|
.line 21
|
|
.line 22
|
|
iget p1, p0, Lokhttp3/internal/connection/RealConnection;->r:I
|
|
|
|
.line 23
|
|
.line 24
|
|
add-int/2addr p1, v1
|
|
|
|
.line 25
|
|
iput p1, p0, Lokhttp3/internal/connection/RealConnection;->r:I
|
|
|
|
.line 26
|
|
.line 27
|
|
if-le p1, v1, :cond_6
|
|
|
|
.line 28
|
|
.line 29
|
|
iget-boolean p1, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 30
|
|
.line 31
|
|
xor-int/lit8 v2, p1, 0x1
|
|
|
|
.line 32
|
|
.line 33
|
|
iput-boolean v1, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 34
|
|
.line 35
|
|
iget p1, p0, Lokhttp3/internal/connection/RealConnection;->p:I
|
|
|
|
.line 36
|
|
.line 37
|
|
add-int/2addr p1, v1
|
|
|
|
.line 38
|
|
iput p1, p0, Lokhttp3/internal/connection/RealConnection;->p:I
|
|
|
|
.line 39
|
|
.line 40
|
|
goto :goto_1
|
|
|
|
.line 41
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 42
|
|
goto :goto_2
|
|
|
|
.line 43
|
|
:cond_0
|
|
check-cast p2, Lokhttp3/internal/http2/StreamResetException;
|
|
|
|
.line 44
|
|
.line 45
|
|
iget-object p2, p2, Lokhttp3/internal/http2/StreamResetException;->c:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.line 46
|
|
.line 47
|
|
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->l:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.line 48
|
|
.line 49
|
|
if-ne p2, v0, :cond_1
|
|
|
|
.line 50
|
|
.line 51
|
|
iget-boolean p1, p1, Lokhttp3/internal/connection/RealCall;->u:Z
|
|
|
|
.line 52
|
|
.line 53
|
|
if-nez p1, :cond_6
|
|
|
|
.line 54
|
|
.line 55
|
|
:cond_1
|
|
iget-boolean p1, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 56
|
|
.line 57
|
|
xor-int/lit8 v2, p1, 0x1
|
|
|
|
.line 58
|
|
.line 59
|
|
iput-boolean v1, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 60
|
|
.line 61
|
|
iget p1, p0, Lokhttp3/internal/connection/RealConnection;->p:I
|
|
|
|
.line 62
|
|
.line 63
|
|
add-int/2addr p1, v1
|
|
|
|
.line 64
|
|
iput p1, p0, Lokhttp3/internal/connection/RealConnection;->p:I
|
|
|
|
.line 65
|
|
.line 66
|
|
goto :goto_1
|
|
|
|
.line 67
|
|
:cond_2
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->m:Lokhttp3/internal/http2/Http2Connection;
|
|
|
|
.line 68
|
|
.line 69
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 70
|
|
.line 71
|
|
move v0, v1
|
|
|
|
.line 72
|
|
goto :goto_0
|
|
|
|
.line 73
|
|
:cond_3
|
|
move v0, v2
|
|
|
|
.line 74
|
|
:goto_0
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 75
|
|
.line 76
|
|
instance-of v0, p2, Lokhttp3/internal/http2/ConnectionShutdownException;
|
|
|
|
.line 77
|
|
.line 78
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 79
|
|
.line 80
|
|
:cond_4
|
|
iget-boolean v0, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 81
|
|
.line 82
|
|
xor-int/lit8 v2, v0, 0x1
|
|
|
|
.line 83
|
|
.line 84
|
|
iput-boolean v1, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 85
|
|
.line 86
|
|
iget v0, p0, Lokhttp3/internal/connection/RealConnection;->q:I
|
|
|
|
.line 87
|
|
.line 88
|
|
if-nez v0, :cond_6
|
|
|
|
.line 89
|
|
.line 90
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 91
|
|
.line 92
|
|
iget-object p1, p1, Lokhttp3/internal/connection/RealCall;->c:Lokhttp3/OkHttpClient;
|
|
|
|
.line 93
|
|
.line 94
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->g:Lokhttp3/Route;
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-static {p1, v0, p2}, Lokhttp3/internal/connection/RealConnection;->d(Lokhttp3/OkHttpClient;Lokhttp3/Route;Ljava/io/IOException;)V
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
:cond_5
|
|
iget p1, p0, Lokhttp3/internal/connection/RealConnection;->p:I
|
|
|
|
.line 100
|
|
.line 101
|
|
add-int/2addr p1, v1
|
|
|
|
.line 102
|
|
iput p1, p0, Lokhttp3/internal/connection/RealConnection;->p:I
|
|
|
|
.line 103
|
|
.line 104
|
|
:cond_6
|
|
:goto_1
|
|
sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 105
|
|
.line 106
|
|
monitor-exit p0
|
|
|
|
.line 107
|
|
if-eqz v2, :cond_7
|
|
|
|
.line 108
|
|
.line 109
|
|
const-string p1, "connection"
|
|
|
|
.line 110
|
|
.line 111
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 112
|
|
.line 113
|
|
.line 114
|
|
:cond_7
|
|
return-void
|
|
|
|
.line 115
|
|
:goto_2
|
|
monitor-exit p0
|
|
|
|
.line 116
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final c(Lokhttp3/internal/http2/Http2Stream;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "stream"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->k:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.line 7
|
|
.line 8
|
|
const/4 v1, 0x0
|
|
|
|
.line 9
|
|
invoke-virtual {p1, v0, v1}, Lokhttp3/internal/http2/Http2Stream;->e(Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public final cancel()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->h:Ljava/net/Socket;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {v0}, Lokhttp3/internal/_UtilJvmKt;->b(Ljava/net/Socket;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
const/4 v0, 0x1
|
|
|
|
.line 3
|
|
:try_start_0
|
|
iput-boolean v0, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 4
|
|
.line 5
|
|
sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 6
|
|
.line 7
|
|
monitor-exit p0
|
|
|
|
.line 8
|
|
const-string v0, "connection"
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
|
|
.line 14
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 15
|
|
monitor-exit p0
|
|
|
|
.line 16
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final f()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget v0, p0, Lokhttp3/internal/connection/RealConnection;->q:I
|
|
|
|
.line 3
|
|
.line 4
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 5
|
|
.line 6
|
|
iput v0, p0, Lokhttp3/internal/connection/RealConnection;->q:I
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 7
|
|
.line 8
|
|
monitor-exit p0
|
|
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 11
|
|
monitor-exit p0
|
|
|
|
.line 12
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final g(Lokhttp3/Address;Ljava/util/List;)Z
|
|
.locals 9
|
|
|
|
.line 1
|
|
const-string v0, "address"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
sget-object v0, Lokhttp3/internal/_UtilJvmKt;->a:Ljava/util/TimeZone;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->t:Ljava/util/ArrayList;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
iget v1, p0, Lokhttp3/internal/connection/RealConnection;->s:I
|
|
|
|
.line 15
|
|
.line 16
|
|
const/4 v2, 0x0
|
|
|
|
.line 17
|
|
if-ge v0, v1, :cond_9
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-boolean v0, p0, Lokhttp3/internal/connection/RealConnection;->n:Z
|
|
|
|
.line 20
|
|
.line 21
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
goto/16 :goto_1
|
|
|
|
.line 24
|
|
.line 25
|
|
:cond_0
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->g:Lokhttp3/Route;
|
|
|
|
.line 26
|
|
.line 27
|
|
iget-object v1, v0, Lokhttp3/Route;->a:Lokhttp3/Address;
|
|
|
|
.line 28
|
|
.line 29
|
|
iget-object v3, v0, Lokhttp3/Route;->a:Lokhttp3/Address;
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {v1, p1}, Lokhttp3/Address;->a(Lokhttp3/Address;)Z
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result v1
|
|
|
|
.line 35
|
|
iget-object v4, p1, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 36
|
|
.line 37
|
|
if-nez v1, :cond_1
|
|
|
|
.line 38
|
|
.line 39
|
|
goto/16 :goto_1
|
|
|
|
.line 40
|
|
.line 41
|
|
:cond_1
|
|
iget-object v1, v4, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 42
|
|
.line 43
|
|
iget-object v5, v4, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 44
|
|
.line 45
|
|
iget-object v6, v3, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 46
|
|
.line 47
|
|
iget-object v6, v6, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 48
|
|
.line 49
|
|
invoke-static {v1, v6}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result v1
|
|
|
|
.line 53
|
|
const/4 v6, 0x1
|
|
|
|
.line 54
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 55
|
|
.line 56
|
|
return v6
|
|
|
|
.line 57
|
|
:cond_2
|
|
iget-object v1, p0, Lokhttp3/internal/connection/RealConnection;->m:Lokhttp3/internal/http2/Http2Connection;
|
|
|
|
.line 58
|
|
.line 59
|
|
if-nez v1, :cond_3
|
|
|
|
.line 60
|
|
.line 61
|
|
goto/16 :goto_1
|
|
|
|
.line 62
|
|
.line 63
|
|
:cond_3
|
|
if-eqz p2, :cond_9
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-interface {p2}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result v1
|
|
|
|
.line 69
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 70
|
|
.line 71
|
|
goto/16 :goto_1
|
|
|
|
.line 72
|
|
.line 73
|
|
:cond_4
|
|
invoke-interface {p2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result-object p2
|
|
|
|
.line 77
|
|
:cond_5
|
|
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result v1
|
|
|
|
.line 81
|
|
if-eqz v1, :cond_9
|
|
|
|
.line 82
|
|
.line 83
|
|
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
move-result-object v1
|
|
|
|
.line 87
|
|
check-cast v1, Lokhttp3/Route;
|
|
|
|
.line 88
|
|
.line 89
|
|
iget-object v7, v1, Lokhttp3/Route;->b:Ljava/net/Proxy;
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-virtual {v7}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result-object v7
|
|
|
|
.line 95
|
|
sget-object v8, Ljava/net/Proxy$Type;->DIRECT:Ljava/net/Proxy$Type;
|
|
|
|
.line 96
|
|
.line 97
|
|
if-ne v7, v8, :cond_5
|
|
|
|
.line 98
|
|
.line 99
|
|
iget-object v7, v0, Lokhttp3/Route;->b:Ljava/net/Proxy;
|
|
|
|
.line 100
|
|
.line 101
|
|
invoke-virtual {v7}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
.line 102
|
|
.line 103
|
|
.line 104
|
|
move-result-object v7
|
|
|
|
.line 105
|
|
if-ne v7, v8, :cond_5
|
|
|
|
.line 106
|
|
.line 107
|
|
iget-object v7, v0, Lokhttp3/Route;->c:Ljava/net/InetSocketAddress;
|
|
|
|
.line 108
|
|
.line 109
|
|
iget-object v1, v1, Lokhttp3/Route;->c:Ljava/net/InetSocketAddress;
|
|
|
|
.line 110
|
|
.line 111
|
|
invoke-static {v7, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 112
|
|
.line 113
|
|
.line 114
|
|
move-result v1
|
|
|
|
.line 115
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 116
|
|
.line 117
|
|
iget-object p2, p1, Lokhttp3/Address;->d:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
.line 118
|
|
.line 119
|
|
sget-object v0, Lokhttp3/internal/tls/OkHostnameVerifier;->a:Lokhttp3/internal/tls/OkHostnameVerifier;
|
|
|
|
.line 120
|
|
.line 121
|
|
if-eq p2, v0, :cond_6
|
|
|
|
.line 122
|
|
.line 123
|
|
goto :goto_1
|
|
|
|
.line 124
|
|
:cond_6
|
|
sget-object p2, Lokhttp3/internal/_UtilJvmKt;->a:Ljava/util/TimeZone;
|
|
|
|
.line 125
|
|
.line 126
|
|
iget-object p2, v3, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 127
|
|
.line 128
|
|
iget v0, v4, Lokhttp3/HttpUrl;->e:I
|
|
|
|
.line 129
|
|
.line 130
|
|
iget v1, p2, Lokhttp3/HttpUrl;->e:I
|
|
|
|
.line 131
|
|
.line 132
|
|
if-eq v0, v1, :cond_7
|
|
|
|
.line 133
|
|
.line 134
|
|
goto :goto_1
|
|
|
|
.line 135
|
|
:cond_7
|
|
iget-object p2, p2, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 136
|
|
.line 137
|
|
invoke-static {v5, p2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 138
|
|
.line 139
|
|
.line 140
|
|
move-result p2
|
|
|
|
.line 141
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->j:Lokhttp3/Handshake;
|
|
|
|
.line 142
|
|
.line 143
|
|
if-eqz p2, :cond_8
|
|
|
|
.line 144
|
|
.line 145
|
|
goto :goto_0
|
|
|
|
.line 146
|
|
:cond_8
|
|
iget-boolean p2, p0, Lokhttp3/internal/connection/RealConnection;->o:Z
|
|
|
|
.line 147
|
|
.line 148
|
|
if-nez p2, :cond_9
|
|
|
|
.line 149
|
|
.line 150
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 151
|
|
.line 152
|
|
invoke-virtual {v0}, Lokhttp3/Handshake;->a()Ljava/util/List;
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
move-result-object p2
|
|
|
|
.line 156
|
|
invoke-interface {p2}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 157
|
|
.line 158
|
|
.line 159
|
|
move-result v1
|
|
|
|
.line 160
|
|
if-nez v1, :cond_9
|
|
|
|
.line 161
|
|
.line 162
|
|
invoke-interface {p2, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
.line 163
|
|
.line 164
|
|
.line 165
|
|
move-result-object p2
|
|
|
|
.line 166
|
|
const-string v1, "null cannot be cast to non-null type java.security.cert.X509Certificate"
|
|
|
|
.line 167
|
|
.line 168
|
|
invoke-static {p2, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 169
|
|
.line 170
|
|
.line 171
|
|
check-cast p2, Ljava/security/cert/X509Certificate;
|
|
|
|
.line 172
|
|
.line 173
|
|
invoke-static {v5, p2}, Lokhttp3/internal/tls/OkHostnameVerifier;->c(Ljava/lang/String;Ljava/security/cert/X509Certificate;)Z
|
|
|
|
.line 174
|
|
.line 175
|
|
.line 176
|
|
move-result p2
|
|
|
|
.line 177
|
|
if-eqz p2, :cond_9
|
|
|
|
.line 178
|
|
.line 179
|
|
:goto_0
|
|
:try_start_0
|
|
iget-object p1, p1, Lokhttp3/Address;->e:Lokhttp3/CertificatePinner;
|
|
|
|
.line 180
|
|
.line 181
|
|
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 182
|
|
.line 183
|
|
.line 184
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 185
|
|
.line 186
|
|
.line 187
|
|
invoke-virtual {v0}, Lokhttp3/Handshake;->a()Ljava/util/List;
|
|
|
|
.line 188
|
|
.line 189
|
|
.line 190
|
|
move-result-object p2
|
|
|
|
.line 191
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 192
|
|
.line 193
|
|
.line 194
|
|
const-string v0, "hostname"
|
|
|
|
.line 195
|
|
.line 196
|
|
invoke-static {v5, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 197
|
|
.line 198
|
|
.line 199
|
|
const-string v0, "peerCertificates"
|
|
|
|
.line 200
|
|
.line 201
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 202
|
|
.line 203
|
|
.line 204
|
|
new-instance v0, Lokhttp3/a;
|
|
|
|
.line 205
|
|
.line 206
|
|
invoke-direct {v0, p1, p2, v5, v2}, Lokhttp3/a;-><init>(Lokhttp3/CertificatePinner;Ljava/lang/Object;Ljava/lang/Object;I)V
|
|
|
|
.line 207
|
|
.line 208
|
|
.line 209
|
|
invoke-virtual {p1, v5, v0}, Lokhttp3/CertificatePinner;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V
|
|
:try_end_0
|
|
.catch Ljavax/net/ssl/SSLPeerUnverifiedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 210
|
|
.line 211
|
|
.line 212
|
|
return v6
|
|
|
|
.line 213
|
|
:catch_0
|
|
:cond_9
|
|
:goto_1
|
|
return v2
|
|
.end method
|
|
|
|
.method public final getRoute()Lokhttp3/Route;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->g:Lokhttp3/Route;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final h(Z)Z
|
|
.locals 6
|
|
|
|
.line 1
|
|
sget-object v0, Lokhttp3/internal/_UtilJvmKt;->a:Ljava/util/TimeZone;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-wide v0
|
|
|
|
.line 7
|
|
iget-object v2, p0, Lokhttp3/internal/connection/RealConnection;->h:Ljava/net/Socket;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v2}, Ljava/net/Socket;->isClosed()Z
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v2
|
|
|
|
.line 13
|
|
const/4 v3, 0x0
|
|
|
|
.line 14
|
|
if-nez v2, :cond_3
|
|
|
|
.line 15
|
|
.line 16
|
|
iget-object v2, p0, Lokhttp3/internal/connection/RealConnection;->i:Ljava/net/Socket;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v2}, Ljava/net/Socket;->isClosed()Z
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v2
|
|
|
|
.line 22
|
|
if-nez v2, :cond_3
|
|
|
|
.line 23
|
|
.line 24
|
|
iget-object v2, p0, Lokhttp3/internal/connection/RealConnection;->i:Ljava/net/Socket;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v2}, Ljava/net/Socket;->isInputShutdown()Z
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result v2
|
|
|
|
.line 30
|
|
if-nez v2, :cond_3
|
|
|
|
.line 31
|
|
.line 32
|
|
iget-object v2, p0, Lokhttp3/internal/connection/RealConnection;->i:Ljava/net/Socket;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {v2}, Ljava/net/Socket;->isOutputShutdown()Z
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result v2
|
|
|
|
.line 38
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 39
|
|
.line 40
|
|
goto :goto_0
|
|
|
|
.line 41
|
|
:cond_0
|
|
iget-object v2, p0, Lokhttp3/internal/connection/RealConnection;->m:Lokhttp3/internal/http2/Http2Connection;
|
|
|
|
.line 42
|
|
.line 43
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {v2, v0, v1}, Lokhttp3/internal/http2/Http2Connection;->d(J)Z
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result p1
|
|
|
|
.line 49
|
|
return p1
|
|
|
|
.line 50
|
|
:cond_1
|
|
monitor-enter p0
|
|
|
|
.line 51
|
|
:try_start_0
|
|
iget-wide v4, p0, Lokhttp3/internal/connection/RealConnection;->u:J
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
.line 52
|
|
.line 53
|
|
sub-long/2addr v0, v4
|
|
|
|
.line 54
|
|
monitor-exit p0
|
|
|
|
.line 55
|
|
const-wide v4, 0x2540be400L
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
cmp-long v0, v0, v4
|
|
|
|
.line 61
|
|
.line 62
|
|
const/4 v1, 0x1
|
|
|
|
.line 63
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 64
|
|
.line 65
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 66
|
|
.line 67
|
|
iget-object p1, p0, Lokhttp3/internal/connection/RealConnection;->i:Ljava/net/Socket;
|
|
|
|
.line 68
|
|
.line 69
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->l:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-interface {v0}, Lokhttp3/internal/connection/BufferedSocket;->a()Lokio/BufferedSource;
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
move-result-object v0
|
|
|
|
.line 75
|
|
const-string v2, "<this>"
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-static {p1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
const-string v2, "source"
|
|
|
|
.line 81
|
|
.line 82
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
:try_start_1
|
|
invoke-virtual {p1}, Ljava/net/Socket;->getSoTimeout()I
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result v2
|
|
:try_end_1
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
.line 89
|
|
:try_start_2
|
|
invoke-virtual {p1, v1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
invoke-interface {v0}, Lokio/BufferedSource;->D()Z
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
move-result v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 96
|
|
xor-int/2addr v0, v1
|
|
|
|
.line 97
|
|
:try_start_3
|
|
invoke-virtual {p1, v2}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
return v0
|
|
|
|
.line 101
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 102
|
|
invoke-virtual {p1, v2}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
throw v0
|
|
:try_end_3
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_3 .. :try_end_3} :catch_0
|
|
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_1
|
|
|
|
.line 106
|
|
:catch_0
|
|
move v3, v1
|
|
|
|
.line 107
|
|
:catch_1
|
|
return v3
|
|
|
|
.line 108
|
|
:cond_2
|
|
return v1
|
|
|
|
.line 109
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
.line 110
|
|
monitor-exit p0
|
|
|
|
.line 111
|
|
throw p1
|
|
|
|
.line 112
|
|
:cond_3
|
|
:goto_0
|
|
return v3
|
|
.end method
|
|
|
|
.method public final i()V
|
|
.locals 7
|
|
|
|
.line 1
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-wide v0
|
|
|
|
.line 5
|
|
iput-wide v0, p0, Lokhttp3/internal/connection/RealConnection;->u:J
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->k:Lokhttp3/Protocol;
|
|
|
|
.line 8
|
|
.line 9
|
|
sget-object v1, Lokhttp3/Protocol;->j:Lokhttp3/Protocol;
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eq v0, v1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
sget-object v1, Lokhttp3/Protocol;->k:Lokhttp3/Protocol;
|
|
|
|
.line 14
|
|
.line 15
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
goto :goto_0
|
|
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 19
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v0, p0, Lokhttp3/internal/connection/RealConnection;->i:Ljava/net/Socket;
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 v1, 0x0
|
|
|
|
.line 22
|
|
invoke-virtual {v0, v1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
sget-object v0, Lokhttp3/internal/connection/ConnectionListener;->a:Lokhttp3/internal/connection/ConnectionListener$Companion$NONE$1;
|
|
|
|
.line 26
|
|
.line 27
|
|
instance-of v2, v0, Lokhttp3/internal/http2/FlowControlListener;
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 30
|
|
.line 31
|
|
check-cast v0, Lokhttp3/internal/http2/FlowControlListener;
|
|
|
|
.line 32
|
|
.line 33
|
|
goto :goto_1
|
|
|
|
.line 34
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
.line 35
|
|
:goto_1
|
|
if-nez v0, :cond_3
|
|
|
|
.line 36
|
|
.line 37
|
|
sget-object v0, Lokhttp3/internal/http2/FlowControlListener$None;->a:Lokhttp3/internal/http2/FlowControlListener$None;
|
|
|
|
.line 38
|
|
.line 39
|
|
:cond_3
|
|
new-instance v2, Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
.line 40
|
|
.line 41
|
|
iget-object v3, p0, Lokhttp3/internal/connection/RealConnection;->f:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-direct {v2, v3}, Lokhttp3/internal/http2/Http2Connection$Builder;-><init>(Lokhttp3/internal/concurrent/TaskRunner;)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
iget-object v3, p0, Lokhttp3/internal/connection/RealConnection;->l:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 47
|
|
.line 48
|
|
iget-object v4, p0, Lokhttp3/internal/connection/RealConnection;->g:Lokhttp3/Route;
|
|
|
|
.line 49
|
|
.line 50
|
|
iget-object v4, v4, Lokhttp3/Route;->a:Lokhttp3/Address;
|
|
|
|
.line 51
|
|
.line 52
|
|
iget-object v4, v4, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 53
|
|
.line 54
|
|
iget-object v4, v4, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 55
|
|
.line 56
|
|
const-string v5, "socket"
|
|
|
|
.line 57
|
|
.line 58
|
|
invoke-static {v3, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
const-string v5, "peerName"
|
|
|
|
.line 62
|
|
.line 63
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
const-string v5, "<set-?>"
|
|
|
|
.line 67
|
|
.line 68
|
|
invoke-static {v3, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
iput-object v3, v2, Lokhttp3/internal/http2/Http2Connection$Builder;->b:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 72
|
|
.line 73
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
sget-object v6, Lokhttp3/internal/_UtilJvmKt;->b:Ljava/lang/String;
|
|
|
|
.line 79
|
|
.line 80
|
|
invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
const/16 v6, 0x20
|
|
|
|
.line 84
|
|
.line 85
|
|
invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result-object v3
|
|
|
|
.line 95
|
|
invoke-static {v3, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 96
|
|
.line 97
|
|
.line 98
|
|
iput-object v3, v2, Lokhttp3/internal/http2/Http2Connection$Builder;->c:Ljava/lang/String;
|
|
|
|
.line 99
|
|
.line 100
|
|
const-string v3, "listener"
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-static {p0, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
iput-object p0, v2, Lokhttp3/internal/http2/Http2Connection$Builder;->d:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
.line 106
|
|
.line 107
|
|
const-string v3, "flowControlListener"
|
|
|
|
.line 108
|
|
.line 109
|
|
invoke-static {v0, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 110
|
|
.line 111
|
|
.line 112
|
|
iput-object v0, v2, Lokhttp3/internal/http2/Http2Connection$Builder;->f:Lokhttp3/internal/http2/FlowControlListener;
|
|
|
|
.line 113
|
|
.line 114
|
|
new-instance v0, Lokhttp3/internal/http2/Http2Connection;
|
|
|
|
.line 115
|
|
.line 116
|
|
invoke-direct {v0, v2}, Lokhttp3/internal/http2/Http2Connection;-><init>(Lokhttp3/internal/http2/Http2Connection$Builder;)V
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
iput-object v0, p0, Lokhttp3/internal/connection/RealConnection;->m:Lokhttp3/internal/http2/Http2Connection;
|
|
|
|
.line 120
|
|
.line 121
|
|
sget-object v2, Lokhttp3/internal/http2/Http2Connection;->D:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 122
|
|
.line 123
|
|
iget v3, v2, Lokhttp3/internal/http2/Settings;->a:I
|
|
|
|
.line 124
|
|
.line 125
|
|
and-int/lit8 v3, v3, 0x8
|
|
|
|
.line 126
|
|
.line 127
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 128
|
|
.line 129
|
|
iget-object v2, v2, Lokhttp3/internal/http2/Settings;->b:[I
|
|
|
|
.line 130
|
|
.line 131
|
|
const/4 v3, 0x3
|
|
|
|
.line 132
|
|
aget v2, v2, v3
|
|
|
|
.line 133
|
|
.line 134
|
|
goto :goto_2
|
|
|
|
.line 135
|
|
:cond_4
|
|
const v2, 0x7fffffff
|
|
|
|
.line 136
|
|
.line 137
|
|
.line 138
|
|
:goto_2
|
|
iput v2, p0, Lokhttp3/internal/connection/RealConnection;->s:I
|
|
|
|
.line 139
|
|
.line 140
|
|
iget-object v2, v0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 141
|
|
.line 142
|
|
const-string v3, ">> CONNECTION "
|
|
|
|
.line 143
|
|
.line 144
|
|
monitor-enter v2
|
|
|
|
.line 145
|
|
:try_start_0
|
|
iget-boolean v4, v2, Lokhttp3/internal/http2/Http2Writer;->h:Z
|
|
|
|
.line 146
|
|
.line 147
|
|
if-nez v4, :cond_7
|
|
|
|
.line 148
|
|
.line 149
|
|
sget-object v4, Lokhttp3/internal/http2/Http2Writer;->j:Ljava/util/logging/Logger;
|
|
|
|
.line 150
|
|
.line 151
|
|
sget-object v5, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
|
|
|
|
.line 152
|
|
.line 153
|
|
invoke-virtual {v4, v5}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
|
|
|
|
.line 154
|
|
.line 155
|
|
.line 156
|
|
move-result v5
|
|
|
|
.line 157
|
|
if-eqz v5, :cond_5
|
|
|
|
.line 158
|
|
.line 159
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
.line 160
|
|
.line 161
|
|
invoke-direct {v5, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
sget-object v3, Lokhttp3/internal/http2/Http2;->a:Lokio/ByteString;
|
|
|
|
.line 165
|
|
.line 166
|
|
invoke-virtual {v3}, Lokio/ByteString;->e()Ljava/lang/String;
|
|
|
|
.line 167
|
|
.line 168
|
|
.line 169
|
|
move-result-object v3
|
|
|
|
.line 170
|
|
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 171
|
|
.line 172
|
|
.line 173
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 174
|
|
.line 175
|
|
.line 176
|
|
move-result-object v3
|
|
|
|
.line 177
|
|
new-array v5, v1, [Ljava/lang/Object;
|
|
|
|
.line 178
|
|
.line 179
|
|
invoke-static {v3, v5}, Lokhttp3/internal/_UtilJvmKt;->c(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
.line 180
|
|
.line 181
|
|
.line 182
|
|
move-result-object v3
|
|
|
|
.line 183
|
|
invoke-virtual {v4, v3}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
|
|
|
|
.line 184
|
|
.line 185
|
|
.line 186
|
|
goto :goto_3
|
|
|
|
.line 187
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 188
|
|
goto :goto_4
|
|
|
|
.line 189
|
|
:cond_5
|
|
:goto_3
|
|
iget-object v3, v2, Lokhttp3/internal/http2/Http2Writer;->c:Lokio/BufferedSink;
|
|
|
|
.line 190
|
|
.line 191
|
|
sget-object v4, Lokhttp3/internal/http2/Http2;->a:Lokio/ByteString;
|
|
|
|
.line 192
|
|
.line 193
|
|
invoke-interface {v3, v4}, Lokio/BufferedSink;->r0(Lokio/ByteString;)Lokio/BufferedSink;
|
|
|
|
.line 194
|
|
.line 195
|
|
.line 196
|
|
iget-object v3, v2, Lokhttp3/internal/http2/Http2Writer;->c:Lokio/BufferedSink;
|
|
|
|
.line 197
|
|
.line 198
|
|
invoke-interface {v3}, Lokio/BufferedSink;->flush()V
|
|
|
|
.line 199
|
|
.line 200
|
|
.line 201
|
|
sget-object v3, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 202
|
|
.line 203
|
|
monitor-exit v2
|
|
|
|
.line 204
|
|
iget-object v2, v0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 205
|
|
.line 206
|
|
iget-object v3, v0, Lokhttp3/internal/http2/Http2Connection;->u:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 207
|
|
.line 208
|
|
invoke-virtual {v2, v3}, Lokhttp3/internal/http2/Http2Writer;->k(Lokhttp3/internal/http2/Settings;)V
|
|
|
|
.line 209
|
|
.line 210
|
|
.line 211
|
|
iget-object v2, v0, Lokhttp3/internal/http2/Http2Connection;->u:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 212
|
|
.line 213
|
|
invoke-virtual {v2}, Lokhttp3/internal/http2/Settings;->a()I
|
|
|
|
.line 214
|
|
.line 215
|
|
.line 216
|
|
move-result v2
|
|
|
|
.line 217
|
|
const v3, 0xffff
|
|
|
|
.line 218
|
|
.line 219
|
|
.line 220
|
|
if-eq v2, v3, :cond_6
|
|
|
|
.line 221
|
|
.line 222
|
|
iget-object v4, v0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 223
|
|
.line 224
|
|
sub-int/2addr v2, v3
|
|
|
|
.line 225
|
|
int-to-long v2, v2
|
|
|
|
.line 226
|
|
invoke-virtual {v4, v1, v2, v3}, Lokhttp3/internal/http2/Http2Writer;->l(IJ)V
|
|
|
|
.line 227
|
|
.line 228
|
|
.line 229
|
|
:cond_6
|
|
iget-object v1, v0, Lokhttp3/internal/http2/Http2Connection;->k:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
.line 230
|
|
.line 231
|
|
invoke-virtual {v1}, Lokhttp3/internal/concurrent/TaskRunner;->d()Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 232
|
|
.line 233
|
|
.line 234
|
|
move-result-object v1
|
|
|
|
.line 235
|
|
iget-object v2, v0, Lokhttp3/internal/http2/Http2Connection;->g:Ljava/lang/String;
|
|
|
|
.line 236
|
|
.line 237
|
|
iget-object v0, v0, Lokhttp3/internal/http2/Http2Connection;->B:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
|
|
|
|
.line 238
|
|
.line 239
|
|
const/4 v3, 0x6
|
|
|
|
.line 240
|
|
invoke-static {v1, v2, v0, v3}, Lokhttp3/internal/concurrent/TaskQueue;->c(Lokhttp3/internal/concurrent/TaskQueue;Ljava/lang/String;Lkotlin/jvm/functions/Function0;I)V
|
|
|
|
.line 241
|
|
.line 242
|
|
.line 243
|
|
return-void
|
|
|
|
.line 244
|
|
:cond_7
|
|
:try_start_1
|
|
new-instance v0, Ljava/io/IOException;
|
|
|
|
.line 245
|
|
.line 246
|
|
const-string v1, "closed"
|
|
|
|
.line 247
|
|
.line 248
|
|
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 249
|
|
.line 250
|
|
.line 251
|
|
throw v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 252
|
|
:goto_4
|
|
monitor-exit v2
|
|
|
|
.line 253
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "Connection{"
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
iget-object v1, p0, Lokhttp3/internal/connection/RealConnection;->g:Lokhttp3/Route;
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v2, v1, Lokhttp3/Route;->a:Lokhttp3/Address;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v2, v2, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 13
|
|
.line 14
|
|
iget-object v2, v2, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
const/16 v2, 0x3a
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
iget-object v2, v1, Lokhttp3/Route;->a:Lokhttp3/Address;
|
|
|
|
.line 25
|
|
.line 26
|
|
iget-object v2, v2, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 27
|
|
.line 28
|
|
iget v2, v2, Lokhttp3/HttpUrl;->e:I
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
const-string v2, ", proxy="
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
iget-object v2, v1, Lokhttp3/Route;->b:Ljava/net/Proxy;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
const-string v2, " hostAddress="
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
iget-object v1, v1, Lokhttp3/Route;->c:Ljava/net/InetSocketAddress;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
const-string v1, " cipherSuite="
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
iget-object v1, p0, Lokhttp3/internal/connection/RealConnection;->j:Lokhttp3/Handshake;
|
|
|
|
.line 59
|
|
.line 60
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 61
|
|
.line 62
|
|
iget-object v1, v1, Lokhttp3/Handshake;->b:Lokhttp3/CipherSuite;
|
|
|
|
.line 63
|
|
.line 64
|
|
if-nez v1, :cond_1
|
|
|
|
.line 65
|
|
.line 66
|
|
:cond_0
|
|
const-string v1, "none"
|
|
|
|
.line 67
|
|
.line 68
|
|
:cond_1
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
const-string v1, " protocol="
|
|
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
iget-object v1, p0, Lokhttp3/internal/connection/RealConnection;->k:Lokhttp3/Protocol;
|
|
|
|
.line 77
|
|
.line 78
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
const/16 v1, 0x7d
|
|
|
|
.line 82
|
|
.line 83
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
move-result-object v0
|
|
|
|
.line 90
|
|
return-object v0
|
|
.end method
|