You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.dtflys.forest.http.ForestURL#getAuthority
...
if (URLUtils.isNotNonePort(port) &&
((port != 80 && port != 443 && port > -1) ||
(port == 80 && !ssl) ||
(port == 443 && !ssl))) {
builder.append(':').append(port);
}
....
In this method, there is a if condition that I'm confused, from my knowledge, port 443 is for https , so why port == 443 && !ssl。
请原谅我的装x,我想问为啥443端口是非ssl的条件,是不是写错了
The text was updated successfully, but these errors were encountered:
com.dtflys.forest.http.ForestURL#getAuthority
...
if (URLUtils.isNotNonePort(port) &&
((port != 80 && port != 443 && port > -1) ||
(port == 80 && !ssl) ||
(port == 443 && !ssl))) {
builder.append(':').append(port);
}
....
In this method, there is a if condition that I'm confused, from my knowledge, port 443 is for https , so why port == 443 && !ssl。
请原谅我的装x,我想问为啥443端口是非ssl的条件,是不是写错了
The text was updated successfully, but these errors were encountered: