[JAVA-2101] socket.setKeepAlive(settings.isKeepAlive()); when false Created: 31/Jan/16  Updated: 15/Sep/16  Resolved: 15/Sep/16

Status: Closed
Project: Java Driver
Component/s: Internal
Affects Version/s: 3.2.1
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Simon Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Chromium ARC



 Description   

Hi!

I want to port my android app to Chrome ARC but it doesn't support Socket.setKeepAlive(). I tried to disable it in the drivers settings but the method is still called in SocketStreamHelper:34 with
Socket.setKeepAlive(false)
which doesn't work in Chrome. Could you please only call the method when settings.isKeepAlive() is actually true?

Thank you!

Simon



 Comments   
Comment by Jeffrey Yemin [ 01/Feb/16 ]

Sorry to hear you're having a problem using the driver with Chrome ARC. While others have had problems using the driver with Android, we haven't yet heard of a problem with setKeepAlive.

When you say it doesn't support setKeepAlive, what exactly do you mean? What specific exception is thrown to your application?

Please note that, since Android is not a conforming implementation of the Java Runtime Environment, we do not guarantee that the driver will work with Android.

Generated at Thu Feb 08 08:56:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.