Socket timeout coding error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Socket timeout coding error

alex.lu
Hi, I've noticed a coding error in org.orbeon.oxf.resources.handler.HTTPURLConnection.

In line 71: paramBean.setSocketBufferSize(propertySet.getInteger(SO_TIMEOUT_PROPERTY, 0));

TImeout value should be set as below
paramBean.setSoTimeout(propertySet.getInteger(SO_TIMEOUT_PROPERTY, 0));

I've created a bug https://github.com/orbeon/orbeon-forms/issues/801
Reply | Threaded
Open this post in threaded view
|

Re: Socket timeout coding error

Alessandro  Vernet
Administrator
Hi Alex,

Thank you; I fixed this, and the fix will be in the next build.

Alex

On Mon, Feb 4, 2013 at 8:22 AM, alex.lu <[hidden email]> wrote:

> Hi, I've noticed a coding error in
> org.orbeon.oxf.resources.handler.HTTPURLConnection.
>
> In line 71:
> paramBean.setSocketBufferSize(propertySet.getInteger(SO_TIMEOUT_PROPERTY,
> 0));
>
> TImeout value should be set as below
> paramBean.setSoTimeout(propertySet.getInteger(SO_TIMEOUT_PROPERTY, 0));
>
> I've created a bug https://github.com/orbeon/orbeon-forms/issues/801
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Socket-timeout-coding-error-tp4656237.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet