Skip to content

UrlConnection does not have neither connect timeout nor read timeout set #166

@rgrebski

Description

@rgrebski

There is no read/connect timeouts set for UrlConnection. Because of that when any endpoint is called during which network goes down connection gets stuck (by default there is infinite timeout)

Expected behavior

Connection times outs when network is down during a call

Actual behavior

Connection gets stuck when network is down

Steps to reproduce the behavior

while(true){
graphClient.anyRequest();
}

Disable network during executing the loop

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions