ipfs-shipyard / java-ipfs-http-client

A Java implementation of the HTTP IPFS API
MIT License
536 stars 244 forks source link

Fix issue #191: IPFS.jar's timeout(int timeout) does not pass timeout to constructor #199

Closed mognify closed 1 year ago

mognify commented 1 year ago

im not sure if timeout is meant to be for connection or for read so i'm mainly committing this to see if it gets rejected with an explanation, so i can learn more about this project

it seems like this timeout is supposed to apply to both, considering there are 2 timeout variables but only 1 vague timeout can be passed in

this is related to https://github.com/ipfs-shipyard/java-ipfs-http-client/issues/191#issue-1088603402