forked from github/wulkanowy-mirror
Fix certificate parsing issues (#109)
This commit is contained in:
parent
08dd316aee
commit
0014b74c6b
@ -58,7 +58,6 @@ public class Client {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.cookies = new Cookies();
|
|
||||||
this.symbol = new Login(this).login(email, password, symbol);
|
this.symbol = new Login(this).login(email, password, symbol);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,6 +142,8 @@ public class Client {
|
|||||||
|
|
||||||
this.cookies.addItems(response.cookies());
|
this.cookies.addItems(response.cookies());
|
||||||
|
|
||||||
|
response.bufferUp(); // fixes cert parsing issues
|
||||||
|
|
||||||
return checkForErrors(response.parse());
|
return checkForErrors(response.parse());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user