2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lokhttp3/internal/b/c;
|
2019-02-27 21:13:14 +00:00
|
|
|
.super Lokhttp3/internal/e/g$b;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "RealConnection.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lokhttp3/i;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-03-30 08:05:33 +00:00
|
|
|
.field private final bnI:Lokhttp3/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public boD:Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field private bor:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bos:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public final bpN:Lokhttp3/y;
|
2019-03-26 19:13:28 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bpR:Lokio/BufferedSink;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bpS:Z
|
2019-02-21 02:16:48 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bpT:I
|
2019-02-21 02:16:48 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bpU:I
|
2019-02-21 02:16:48 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public final bpV:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/ref/Reference<",
|
|
|
|
"Lokhttp3/internal/b/g;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
.field public bpW:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lokhttp3/j;Lokhttp3/y;)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {p0}, Lokhttp3/internal/e/g$b;-><init>()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput v0, p0, Lokhttp3/internal/b/c;->bpU:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/internal/b/c;->bpV:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/internal/b/c;->bpW:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/b/c;->bnI:Lokhttp3/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object p2, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
.method private ab(II)V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->bjk:Ljava/net/Proxy;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
sget-object v3, Ljava/net/Proxy$Type;->DIRECT:Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
if-eq v2, v3, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
sget-object v3, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
if-ne v2, v3, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v1, Ljava/net/Socket;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/net/Socket;-><init>(Ljava/net/Proxy;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/a;->bjg:Ljavax/net/SocketFactory;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljavax/net/SocketFactory;->createSocket()Ljava/net/Socket;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_1
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v1, p0, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
|
|
|
|
:try_start_0
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boG:Ljava/net/InetSocketAddress;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {p2, v0, v1, p1}, Lokhttp3/internal/g/f;->a(Ljava/net/Socket;Ljava/net/InetSocketAddress;I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/net/ConnectException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
|
|
|
|
:try_start_1
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {p1}, Lokio/j;->c(Ljava/net/Socket;)Lokio/q;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {p1}, Lokio/j;->b(Lokio/q;)Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {p1}, Lokio/j;->b(Ljava/net/Socket;)Lokio/p;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {p1}, Lokio/j;->b(Lokio/p;)Lokio/BufferedSink;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/b/c;->bpR:Lokio/BufferedSink;
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/NullPointerException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
const-string p2, "throw with null exception"
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/NullPointerException;->getMessage()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p2, Ljava/io/IOException;
|
|
|
|
|
|
|
|
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
new-instance p2, Ljava/net/ConnectException;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "Failed to connect to "
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boG:Ljava/net/InetSocketAddress;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {p2, v0}, Ljava/net/ConnectException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/net/ConnectException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
.end method
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
.method private cV(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v0, Lokhttp3/internal/e/g$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0}, Lokhttp3/internal/e/g$a;-><init>()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v2, v2, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v2, v2, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v2, v2, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v3, p0, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v4, p0, Lokhttp3/internal/b/c;->bpR:Lokio/BufferedSink;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Lokhttp3/internal/e/g$a;->a(Ljava/net/Socket;Ljava/lang/String;Lokio/d;Lokio/BufferedSink;)Lokhttp3/internal/e/g$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object p0, v0, Lokhttp3/internal/e/g$a;->brC:Lokhttp3/internal/e/g$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput p1, v0, Lokhttp3/internal/e/g$a;->brZ:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/e/g$a;->Bn()Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/internal/e/g;->Bl()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public final AR()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final X(Z)Z
|
|
|
|
.locals 4
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/net/Socket;->isClosed()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/net/Socket;->isInputShutdown()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/net/Socket;->isOutputShutdown()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/e/g;->isShutdown()Z
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
|
|
|
:try_start_0
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/net/Socket;->getSoTimeout()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:try_start_1
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-interface {v0}, Lokio/d;->BW()Z
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
:try_start_2
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_3
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v3, p0, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, p1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
:try_end_2
|
|
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
:cond_4
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final a(IIIIZLokhttp3/e;Lokhttp3/p;)V
|
2019-02-27 21:13:14 +00:00
|
|
|
.locals 16
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-object/from16 v1, p0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move/from16 v2, p4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v0, :cond_1c
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/a;->bjj:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v3, Lokhttp3/internal/b/b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v3, v0}, Lokhttp3/internal/b/b;-><init>(Ljava/util/List;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v4, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v4, v4, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
iget-object v4, v4, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v4, :cond_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v4, Lokhttp3/k;->bmm:Lokhttp3/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-interface {v0, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v4, v0}, Lokhttp3/internal/g/f;->isCleartextTrafficPermitted(Ljava/lang/String;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v4, :cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v2, Lokhttp3/internal/b/e;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v3, Ljava/net/UnknownServiceException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v5, "CLEARTEXT communication to "
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v0, " not permitted by network security policy"
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v3, v0}, Ljava/net/UnknownServiceException;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v2, v3}, Lokhttp3/internal/b/e;-><init>(Ljava/io/IOException;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
throw v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Lokhttp3/internal/b/e;
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v2, Ljava/net/UnknownServiceException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v3, "CLEARTEXT communication not enabled for client"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v2, v3}, Ljava/net/UnknownServiceException;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0, v2}, Lokhttp3/internal/b/e;-><init>(Ljava/io/IOException;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/a;->bji:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v4, Lokhttp3/u;->bnV:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-interface {v0, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v0, :cond_1b
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-02-27 21:13:14 +00:00
|
|
|
const/4 v4, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-object v5, v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-02-27 21:13:14 +00:00
|
|
|
const/4 v6, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/4 v7, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:try_start_0
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/y;->AK()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v0, Lokhttp3/w$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0}, Lokhttp3/w$a;-><init>()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v8, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v8, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v8}, Lokhttp3/w$a;->b(Lokhttp3/s;)Lokhttp3/w$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v8, "CONNECT"
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v8, v4}, Lokhttp3/w$a;->a(Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/w$a;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v8, "Host"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v9, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v9, v9, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v9, v9, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v9, v7}, Lokhttp3/internal/c;->a(Lokhttp3/s;Z)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v9
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v8, v9}, Lokhttp3/w$a;->aj(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/w$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v8, "Proxy-Connection"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v9, "Keep-Alive"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v8, v9}, Lokhttp3/w$a;->aj(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/w$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v8, "User-Agent"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v9, "okhttp/3.12.1"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v8, v9}, Lokhttp3/w$a;->aj(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/w$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/w$a;->AF()Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v8, Lokhttp3/Response$a;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v8}, Lokhttp3/Response$a;-><init>()V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, v8, Lokhttp3/Response$a;->boq:Lokhttp3/w;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v9, Lokhttp3/u;->bnS:Lokhttp3/u;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v9, v8, Lokhttp3/Response$a;->bor:Lokhttp3/u;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/16 v9, 0x197
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
iput v9, v8, Lokhttp3/Response$a;->code:I
|
|
|
|
|
|
|
|
const-string v10, "Preemptive Authenticate"
|
|
|
|
|
|
|
|
iput-object v10, v8, Lokhttp3/Response$a;->message:Ljava/lang/String;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v10, Lokhttp3/internal/c;->boP:Lokhttp3/x;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v10, v8, Lokhttp3/Response$a;->bou:Lokhttp3/x;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
const-wide/16 v10, -0x1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-wide v10, v8, Lokhttp3/Response$a;->boy:J
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-wide v10, v8, Lokhttp3/Response$a;->boz:J
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
const-string v12, "Proxy-Authenticate"
|
|
|
|
|
|
|
|
const-string v13, "OkHttp-Preemptive"
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v14, v8, Lokhttp3/Response$a;->boj:Lokhttp3/Headers$a;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-virtual {v14, v12, v13}, Lokhttp3/Headers$a;->ag(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v8}, Lokhttp3/Response$a;->AH()Lokhttp3/Response;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v0, Lokhttp3/w;->bje:Lokhttp3/s;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-direct/range {p0 .. p2}, Lokhttp3/internal/b/c;->ab(II)V
|
|
|
|
|
|
|
|
new-instance v12, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v13, "CONNECT "
|
|
|
|
|
|
|
|
invoke-direct {v12, v13}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v8, v7}, Lokhttp3/internal/c;->a(Lokhttp3/s;Z)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-virtual {v12, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v8, " HTTP/1.1"
|
|
|
|
|
|
|
|
invoke-virtual {v12, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
new-instance v12, Lokhttp3/internal/d/a;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v13, v1, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v14, v1, Lokhttp3/internal/b/c;->bpR:Lokio/BufferedSink;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-direct {v12, v4, v4, v13, v14}, Lokhttp3/internal/d/a;-><init>(Lokhttp3/t;Lokhttp3/internal/b/g;Lokio/d;Lokio/BufferedSink;)V
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v13, v1, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-interface {v13}, Lokio/d;->timeout()Lokio/r;
|
|
|
|
|
|
|
|
move-result-object v13
|
2019-02-27 00:16:35 +00:00
|
|
|
:try_end_0
|
2019-02-27 21:13:14 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_4
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move/from16 v14, p2
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-object/from16 p7, v5
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
int-to-long v4, v14
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_start_1
|
|
|
|
sget-object v15, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v13, v4, v5, v15}, Lokio/r;->d(JLjava/util/concurrent/TimeUnit;)Lokio/r;
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v4, v1, Lokhttp3/internal/b/c;->bpR:Lokio/BufferedSink;
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-interface {v4}, Lokio/BufferedSink;->timeout()Lokio/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v4
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_1
|
2019-02-27 21:13:14 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
|
|
|
|
move/from16 v5, p3
|
|
|
|
|
|
|
|
int-to-long v9, v5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:try_start_2
|
2019-02-27 21:13:14 +00:00
|
|
|
sget-object v11, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v4, v9, v10, v11}, Lokio/r;->d(JLjava/util/concurrent/TimeUnit;)Lokio/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/w;->bny:Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v12, v4, v8}, Lokhttp3/internal/d/a;->a(Lokhttp3/Headers;Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v12}, Lokhttp3/internal/d/a;->Ba()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v12, v6}, Lokhttp3/internal/d/a;->Y(Z)Lokhttp3/Response$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, v4, Lokhttp3/Response$a;->boq:Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v4}, Lokhttp3/Response$a;->AH()Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/internal/c/e;->e(Lokhttp3/Response;)J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-wide v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-wide/16 v10, -0x1
|
|
|
|
|
|
|
|
cmp-long v4, v8, v10
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v4, :cond_3
|
|
|
|
|
|
|
|
const-wide/16 v8, 0x0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-virtual {v12, v8, v9}, Lokhttp3/internal/d/a;->ak(J)Lokio/q;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
move-result-object v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const v8, 0x7fffffff
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
sget-object v9, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v4, v8, v9}, Lokhttp3/internal/c;->a(Lokio/q;ILjava/util/concurrent/TimeUnit;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-interface {v4}, Lokio/q;->close()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
iget v4, v0, Lokhttp3/Response;->code:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/16 v8, 0xc8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eq v4, v8, :cond_5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/16 v8, 0x197
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eq v4, v8, :cond_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v4, Ljava/io/IOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v8, Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v9, "Unexpected response code for CONNECT: "
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v8, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
iget v0, v0, Lokhttp3/Response;->code:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v4, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
throw v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_4
|
|
|
|
new-instance v0, Ljava/io/IOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v4, "Failed to authenticate with proxy"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0, v4}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-interface {v0}, Lokio/d;->BU()Lokio/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokio/c;->BW()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpR:Lokio/BufferedSink;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-interface {v0}, Lokio/BufferedSink;->BU()Lokio/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokio/c;->BW()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v0, :cond_8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
goto/16 :goto_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_6
|
|
|
|
new-instance v0, Ljava/io/IOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v4, "TLS tunnel buffered too many bytes!"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0, v4}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
throw v0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
goto/16 :goto_8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_7
|
|
|
|
move/from16 v14, p2
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-object/from16 p7, v5
|
|
|
|
|
|
|
|
move/from16 v5, p3
|
|
|
|
|
|
|
|
invoke-direct/range {p0 .. p2}, Lokhttp3/internal/b/c;->ab(II)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_8
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v0, :cond_a
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/a;->bji:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v4, Lokhttp3/u;->bnV:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-interface {v0, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_9
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, v1, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v0, Lokhttp3/u;->bnV:Lokhttp3/u;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, v1, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Lokhttp3/internal/b/c;->cV(I)V
|
|
|
|
|
|
|
|
goto/16 :goto_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_9
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, v1, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v0, Lokhttp3/u;->bnS:Lokhttp3/u;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, v1, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
goto/16 :goto_4
|
|
|
|
|
|
|
|
:cond_a
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
iget-object v4, v0, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
:try_end_2
|
|
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_3
|
|
|
|
|
|
|
|
:try_start_3
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v1, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v9, v0, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v9, v9, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v10, v0, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
iget v10, v10, Lokhttp3/s;->port:I
|
|
|
|
|
|
|
|
invoke-virtual {v4, v8, v9, v10, v7}, Ljavax/net/ssl/SSLSocketFactory;->createSocket(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljavax/net/ssl/SSLSocket;
|
|
|
|
:try_end_3
|
|
|
|
.catch Ljava/lang/AssertionError; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
|
|
|
|
:try_start_4
|
|
|
|
invoke-virtual {v3, v4}, Lokhttp3/internal/b/b;->c(Ljavax/net/ssl/SSLSocket;)Lokhttp3/k;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-boolean v9, v8, Lokhttp3/k;->bmo:Z
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
if-eqz v9, :cond_b
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v10, v0, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v10, v10, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v11, v0, Lokhttp3/a;->bji:Ljava/util/List;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-virtual {v9, v4, v10, v11}, Lokhttp3/internal/g/f;->a(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
invoke-virtual {v4}, Ljavax/net/ssl/SSLSocket;->startHandshake()V
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljavax/net/ssl/SSLSocket;->getSession()Ljavax/net/ssl/SSLSession;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
invoke-static {v9}, Lokhttp3/r;->a(Ljavax/net/ssl/SSLSession;)Lokhttp3/r;
|
|
|
|
|
|
|
|
move-result-object v10
|
|
|
|
|
|
|
|
iget-object v11, v0, Lokhttp3/a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v12, v0, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v12, v12, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-interface {v11, v12, v9}, Ljavax/net/ssl/HostnameVerifier;->verify(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_13
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v9, v0, Lokhttp3/a;->bjl:Lokhttp3/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v11, v10, Lokhttp3/r;->bmS:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v9, v0, v11}, Lokhttp3/g;->d(Ljava/lang/String;Ljava/util/List;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-boolean v0, v8, Lokhttp3/k;->bmo:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_c
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v4}, Lokhttp3/internal/g/f;->e(Ljavax/net/ssl/SSLSocket;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_c
|
|
|
|
const/4 v0, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_2
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v1, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v8}, Lokio/j;->c(Ljava/net/Socket;)Lokio/q;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v8}, Lokio/j;->b(Lokio/q;)Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v8, v1, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v1, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v8}, Lokio/j;->b(Ljava/net/Socket;)Lokio/p;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v8}, Lokio/j;->b(Lokio/p;)Lokio/BufferedSink;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v8, v1, Lokhttp3/internal/b/c;->bpR:Lokio/BufferedSink;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v10, v1, Lokhttp3/internal/b/c;->bos:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_d
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/u;->dL(Ljava/lang/String;)Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_d
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v0, Lokhttp3/u;->bnS:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_3
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v0, v1, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_end_4
|
|
|
|
.catch Ljava/lang/AssertionError; {:try_start_4 .. :try_end_4} :catch_1
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v4, :cond_e
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_start_5
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, v4}, Lokhttp3/internal/g/f;->f(Ljavax/net/ssl/SSLSocket;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_e
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v4, Lokhttp3/u;->bnU:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-ne v0, v4, :cond_f
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v1, v2}, Lokhttp3/internal/b/c;->cV(I)V
|
|
|
|
:try_end_5
|
|
|
|
.catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_f
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_4
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/y;->AK()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_11
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_10
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_10
|
2019-02-04 20:08:30 +00:00
|
|
|
new-instance v0, Ljava/net/ProtocolException;
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v2, "Too many tunnel connections attempted: 21"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0, v2}, Ljava/net/ProtocolException;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v2, Lokhttp3/internal/b/e;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v2, v0}, Lokhttp3/internal/b/e;-><init>(Ljava/io/IOException;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
throw v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_11
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_5
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_12
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/internal/b/c;->bnI:Lokhttp3/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
monitor-enter v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_start_6
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/e/g;->Bj()I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput v0, v1, Lokhttp3/internal/b/c;->bpU:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
monitor-exit v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
monitor-exit v2
|
|
|
|
:try_end_6
|
|
|
|
.catchall {:try_start_6 .. :try_end_6} :catchall_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_12
|
2019-02-04 20:08:30 +00:00
|
|
|
return-void
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_13
|
|
|
|
:try_start_7
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v8, v10, Lokhttp3/r;->bmS:Ljava/util/List;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-interface {v8, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
check-cast v8, Ljava/security/cert/X509Certificate;
|
|
|
|
|
|
|
|
new-instance v9, Ljavax/net/ssl/SSLPeerUnverifiedException;
|
|
|
|
|
|
|
|
new-instance v10, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v11, "Hostname "
|
|
|
|
|
|
|
|
invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, " not verified:\n certificate: "
|
|
|
|
|
|
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-static {v8}, Lokhttp3/g;->a(Ljava/security/cert/Certificate;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, "\n DN: "
|
|
|
|
|
|
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Ljava/security/cert/X509Certificate;->getSubjectDN()Ljava/security/Principal;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/security/Principal;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, "\n subjectAltNames: "
|
|
|
|
|
|
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-static {v8}, Lokhttp3/internal/i/d;->f(Ljava/security/cert/X509Certificate;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v9, v0}, Ljavax/net/ssl/SSLPeerUnverifiedException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v9
|
|
|
|
:try_end_7
|
|
|
|
.catch Ljava/lang/AssertionError; {:try_start_7 .. :try_end_7} :catch_1
|
|
|
|
.catchall {:try_start_7 .. :try_end_7} :catchall_2
|
|
|
|
|
|
|
|
:catch_1
|
2019-02-04 20:08:30 +00:00
|
|
|
move-exception v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/4 v4, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:catch_2
|
2019-02-04 20:08:30 +00:00
|
|
|
move-exception v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/4 v4, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_6
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_start_8
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->a(Ljava/lang/AssertionError;)Z
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v8, :cond_14
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v8, Ljava/io/IOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v8, v0}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
throw v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_14
|
2019-02-04 20:08:30 +00:00
|
|
|
throw v0
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_end_8
|
|
|
|
.catchall {:try_start_8 .. :try_end_8} :catchall_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_7
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v4, :cond_15
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_start_9
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v8, v4}, Lokhttp3/internal/g/f;->f(Ljavax/net/ssl/SSLSocket;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_15
|
|
|
|
invoke-static {v4}, Lokhttp3/internal/c;->a(Ljava/net/Socket;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_end_9
|
|
|
|
.catch Ljava/io/IOException; {:try_start_9 .. :try_end_9} :catch_3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:catch_3
|
2019-02-04 20:08:30 +00:00
|
|
|
move-exception v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
goto :goto_9
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:catch_4
|
|
|
|
move-exception v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move/from16 v14, p2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-object/from16 p7, v5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:goto_8
|
|
|
|
move/from16 v5, p3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:goto_9
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v4, v1, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v4}, Lokhttp3/internal/c;->a(Ljava/net/Socket;)V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v4, v1, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v4}, Lokhttp3/internal/c;->a(Ljava/net/Socket;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/4 v4, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->bpP:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->bpO:Ljava/net/Socket;
|
2019-03-26 19:13:28 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->boD:Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->bpR:Lokio/BufferedSink;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->bos:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-object v4, v1, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez p7, :cond_16
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v8, Lokhttp3/internal/b/e;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v8, v0}, Lokhttp3/internal/b/e;-><init>(Ljava/io/IOException;)V
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
goto :goto_a
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_16
|
|
|
|
move-object/from16 v8, p7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
iget-object v9, v8, Lokhttp3/internal/b/e;->firstException:Ljava/io/IOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v9, v0}, Lokhttp3/internal/c;->d(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
iput-object v0, v8, Lokhttp3/internal/b/e;->lastException:Ljava/io/IOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:goto_a
|
|
|
|
if-eqz p5, :cond_1a
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput-boolean v7, v3, Lokhttp3/internal/b/b;->bpM:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-boolean v9, v3, Lokhttp3/internal/b/b;->bpL:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v9, :cond_19
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
instance-of v9, v0, Ljava/net/ProtocolException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v9, :cond_19
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
instance-of v9, v0, Ljava/io/InterruptedIOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v9, :cond_19
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
instance-of v9, v0, Ljavax/net/ssl/SSLHandshakeException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v9, :cond_17
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0}, Ljava/io/IOException;->getCause()Ljava/lang/Throwable;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v10
|
|
|
|
|
|
|
|
instance-of v10, v10, Ljava/security/cert/CertificateException;
|
|
|
|
|
|
|
|
if-nez v10, :cond_19
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 00:16:35 +00:00
|
|
|
:cond_17
|
2019-02-27 21:13:14 +00:00
|
|
|
instance-of v10, v0, Ljavax/net/ssl/SSLPeerUnverifiedException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v10, :cond_19
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v9, :cond_18
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
instance-of v9, v0, Ljavax/net/ssl/SSLProtocolException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-nez v9, :cond_18
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
instance-of v0, v0, Ljavax/net/ssl/SSLException;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_19
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
const/4 v6, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 00:16:35 +00:00
|
|
|
:cond_19
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v6, :cond_1a
|
|
|
|
|
|
|
|
move-object v5, v8
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 00:16:35 +00:00
|
|
|
:cond_1a
|
2019-02-27 21:13:14 +00:00
|
|
|
throw v8
|
|
|
|
|
|
|
|
:cond_1b
|
2019-02-04 20:08:30 +00:00
|
|
|
new-instance v0, Lokhttp3/internal/b/e;
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v2, Ljava/net/UnknownServiceException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v3, "H2_PRIOR_KNOWLEDGE cannot be used with HTTPS"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v2, v3}, Ljava/net/UnknownServiceException;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0, v2}, Lokhttp3/internal/b/e;-><init>(Ljava/io/IOException;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_1c
|
2019-02-04 20:08:30 +00:00
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const-string v2, "already connected"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-direct {v0, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
.method public final a(Lokhttp3/internal/e/g;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bnI:Lokhttp3/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/internal/e/g;->Bj()I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iput p1, p0, Lokhttp3/internal/b/c;->bpU:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
.method public final a(Lokhttp3/internal/e/i;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v0, Lokhttp3/internal/e/b;->bqL:Lokhttp3/internal/e/b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {p1, v0}, Lokhttp3/internal/e/i;->b(Lokhttp3/internal/e/b;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/a;Lokhttp3/y;)Z
|
|
|
|
.locals 4
|
|
|
|
.param p2 # Lokhttp3/y;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpV:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget v1, p0, Lokhttp3/internal/b/c;->bpU:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-ge v0, v1, :cond_a
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-boolean v0, p0, Lokhttp3/internal/b/c;->bpS:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v0, Lokhttp3/internal/a;->boN:Lokhttp3/internal/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Lokhttp3/internal/a;->a(Lokhttp3/a;Lokhttp3/a;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_1
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_2
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpQ:Lokhttp3/internal/e/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
if-nez p2, :cond_4
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_4
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p2, Lokhttp3/y;->bjk:Ljava/net/Proxy;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v3, Ljava/net/Proxy$Type;->DIRECT:Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_5
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_5
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->bjk:Ljava/net/Proxy;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v3, Ljava/net/Proxy$Type;->DIRECT:Ljava/net/Proxy$Type;
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_6
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_6
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/y;->boG:Ljava/net/InetSocketAddress;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v3, p2, Lokhttp3/y;->boG:Ljava/net/InetSocketAddress;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/net/InetSocketAddress;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_7
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_7
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p2, p2, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-object p2, p2, Lokhttp3/a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v0, Lokhttp3/internal/i/d;->btv:Lokhttp3/internal/i/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eq p2, v0, :cond_8
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_8
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p2, p1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {p0, p2}, Lokhttp3/internal/b/c;->c(Lokhttp3/s;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-nez p2, :cond_9
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
:try_start_0
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p2, p1, Lokhttp3/a;->bjl:Lokhttp3/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bos:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, v0, Lokhttp3/r;->bmS:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, v0}, Lokhttp3/g;->d(Ljava/lang/String;Ljava/util/List;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljavax/net/ssl/SSLPeerUnverifiedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catch_0
|
2019-02-04 20:29:01 +00:00
|
|
|
return v2
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:cond_a
|
|
|
|
:goto_0
|
|
|
|
return v2
|
|
|
|
.end method
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
.method public final c(Lokhttp3/s;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 4
|
|
|
|
|
|
|
|
iget v0, p1, Lokhttp3/s;->port:I
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lokhttp3/s;->port:I
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_0
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bos:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
sget-object v0, Lokhttp3/internal/i/d;->btv:Lokhttp3/internal/i/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v3, p0, Lokhttp3/internal/b/c;->bos:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v3, v3, Lokhttp3/r;->bmS:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/security/cert/X509Certificate;
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, p1, v3}, Lokhttp3/internal/i/d;->a(Ljava/lang/String;Ljava/security/cert/X509Certificate;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "Connection{"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/s;->bmY:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ":"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boF:Lokhttp3/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/a;->bje:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lokhttp3/s;->port:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", proxy="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->bjk:Ljava/net/Proxy;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, " hostAddress="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bpN:Lokhttp3/y;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/y;->boG:Ljava/net/InetSocketAddress;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, " cipherSuite="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bos:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/r;->bmR:Lokhttp3/h;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v1, "none"
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, " protocol="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v1, 0x7d
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-02-04 20:32:01 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public final zX()Lokhttp3/u;
|
2019-02-04 20:32:01 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/b/c;->bor:Lokhttp3/u;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|