You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by se...@wso2.com on 2007/10/25 19:14:01 UTC

What Type of SSL BIO is used in HTTP Transport?

What Type of SSL BIO is used in SSL enabled HTTP Transport?

I'm referring to the files,
axis2/c/src/core/transport/http/sender/ssl/ssl_*.*

What I'm interested in knowing is whether it is blocking or non-blocking
or whether it may vary according to the scenario.

Thanks in advance,
Senaka

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: What Type of SSL BIO is used in HTTP Transport?

Posted by Senaka Fernando <se...@wso2.com>.
On Thu, 2007-10-25 at 20:19 -0400, Sahan Gamage wrote:
> Senaka,
> 
> Do you have a specific usage scenario for the NIO sockets ?

Well, I was trying to patch a bug, and the reporter mentioned about the
error, SSL_ERROR_WANT_READ which can be avoided in a blocking BIO, and
wanted to make sure before commenting.

https://issues.apache.org/jira/browse/AXIS2C-728

> Right now we use blocking sockets in Axis2/C. The code is much simpler
> and since we are using threads to distribute the workload no need to
> over complicate stuff by adding NIO sockets unless there is a specific
> need :).
> 
> Thanks
> sahan
> 
> On 10/25/07, Dumindu Pallewela <du...@wso2.com> wrote:
> > senaka@wso2.com wrote:
> > > What Type of SSL BIO is used in SSL enabled HTTP Transport?
> > >
> >
> > It should depend on the socket that is in use by Axis2/C. Please
> > refer to the axis2_ssl_utils_initialize_ssl() function in ssl_utils.c.
> >
> >
> > > I'm referring to the files,
> > > axis2/c/src/core/transport/http/sender/ssl/ssl_*.*
> > >
> > > What I'm interested in knowing is whether it is blocking or non-blocking
> > > or whether it may vary according to the scenario.
> >
> >
> > That (i.e., the behavior of Axis2/C sockets) I'm uncertain of.
> > However, it seems that SSL client's function depends much on this fact!
> >
> > HTH,
> > Dumindu.
> >
> >
> > --
> > Dumindu Pallewela
> > http://blog.dumindu.com
> > GPG ID: 0x9E131672
> >
> > WSO2 | http://wso2.com | "Oxygenating the Web Service Platform"
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: What Type of SSL BIO is used in HTTP Transport?

Posted by Sahan Gamage <sa...@gmail.com>.
Senaka,

Do you have a specific usage scenario for the NIO sockets ?
Right now we use blocking sockets in Axis2/C. The code is much simpler
and since we are using threads to distribute the workload no need to
over complicate stuff by adding NIO sockets unless there is a specific
need :).

Thanks
sahan

On 10/25/07, Dumindu Pallewela <du...@wso2.com> wrote:
> senaka@wso2.com wrote:
> > What Type of SSL BIO is used in SSL enabled HTTP Transport?
> >
>
> It should depend on the socket that is in use by Axis2/C. Please
> refer to the axis2_ssl_utils_initialize_ssl() function in ssl_utils.c.
>
>
> > I'm referring to the files,
> > axis2/c/src/core/transport/http/sender/ssl/ssl_*.*
> >
> > What I'm interested in knowing is whether it is blocking or non-blocking
> > or whether it may vary according to the scenario.
>
>
> That (i.e., the behavior of Axis2/C sockets) I'm uncertain of.
> However, it seems that SSL client's function depends much on this fact!
>
> HTH,
> Dumindu.
>
>
> --
> Dumindu Pallewela
> http://blog.dumindu.com
> GPG ID: 0x9E131672
>
> WSO2 | http://wso2.com | "Oxygenating the Web Service Platform"
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: What Type of SSL BIO is used in HTTP Transport?

Posted by Dumindu Pallewela <du...@wso2.com>.
senaka@wso2.com wrote:
> What Type of SSL BIO is used in SSL enabled HTTP Transport?
> 

It should depend on the socket that is in use by Axis2/C. Please
refer to the axis2_ssl_utils_initialize_ssl() function in ssl_utils.c.

> I'm referring to the files,
> axis2/c/src/core/transport/http/sender/ssl/ssl_*.*
> 
> What I'm interested in knowing is whether it is blocking or non-blocking
> or whether it may vary according to the scenario.

That (i.e., the behavior of Axis2/C sockets) I'm uncertain of.
However, it seems that SSL client's function depends much on this fact!

HTH,
Dumindu.


-- 
Dumindu Pallewela
http://blog.dumindu.com
GPG ID: 0x9E131672

WSO2 | http://wso2.com | "Oxygenating the Web Service Platform"