Anyone have any thoughts on the below question?
Thanks,
Jeremy Huiskamp | karoshealth
Software Engineer
7 Father David Bauer Drive, Suite 201
Waterloo, ON, N2L 0A2, Canada
www.karoshealth.com
On 14 September 2015 at 23:32, Jeremy Huiskamp <
jeremy.huisk...@karoshealth.com> wrote:
> Hi all,
>
> We're in the process of upgrading from hapi 1.2 to 2.2. With 1.2, we
> used to be able to call Socket.setSOTimeout() and when that timeout
> tripped, the connection using the socket would nicely shut down. 2.2 seems
> to catch the exception, ignore it and keep on going.
>
> Is there some other mechanism we can use to automatically shut down a
> connection after a certain period of inactivity? We need this
> functionality to prevent leaks in our hl7 servers in environments where
> clients crash or firewalls silently drop connections.
>
> I'd be happy to submit a patch but would want some feedback first. Would
> it be acceptable to close the connection when a SocketTimeoutException
> happens? Are there legitimate use cases for triggering and then recovering
> from a timeout?
>
> Jeremy Huiskamp | karoshealth
> Software Engineer
> 7 Father David Bauer Drive, Suite 201
> Waterloo, ON, N2L 0A2, Canada
> www.karoshealth.com
>
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel