Re: GSoC Tomcat SPDY Connectors

2010-04-06 Thread jean-frederic clere
On 04/05/2010 06:11 AM, Costin Manolache wrote:
> next protocol negotiation

http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-00.html

Cheers

Jean-Frederic

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: GSoC Tomcat SPDY Connectors

2010-04-05 Thread Konstantin Kolinko
2010/4/5 Felix Kurth :
> one last thing: is there A website where i can easily browse this
> mailinglist?

The ones that we know about are mentioned on the following page:
http://tomcat.apache.org/lists.html

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: GSoC Tomcat SPDY Connectors

2010-04-04 Thread Costin Manolache
On Sun, Apr 4, 2010 at 6:36 PM, Felix Kurth  wrote:

> Hi
>
> I am still working on my Proposal for GSoC.
> I had a closer look at the sources of org/apache/coyote and also
> modules/tomcat-lite/java/org/apache/tomcat/lite/http.
>
> Now I have more than one Idea how to achieve the implementation of a SPDY
> connector.
>
> At the moment I guess it is most feasible to implement SPDY connector by
> sticking close to the model used in Http11NioProtocol or Http11Protocol or
> Http11AprProtocol and theire related classes. For the SPDY tcp session
> multiplexing i would stick to the SpdyConnector at tomcat_lite but i don?t
> think i can reuse it just like it is due to the different auxiliary classes
> used in tomcat_lite and tomcat implementation.
>

There is a coyote.lite.LiteProtocolHandler that does the adaptation.




>
> From the Hint in the mail  104983 at the mailinglist I got the Idea that,
> to be able to fully Implement the SSL feature for the SPDY, it is necessary
> to use the APREndpoint from the org/apache/tomcat/util/net libary. Did i get
> that right Costin?
>


Yes, so far 'next protocol negotiation' is only supported in openssl, so you
need apr. You may need additional JNI, not sure how much of TLS extensions
are exposed.



>
> It might also be feasible to extend and overwrite the HttpProcessor and
> InternalBuffer and some more to introduce the SPDY multiplexing as the layer
> below HTTP. At least not so much duplicated code would be produced.
>

Most of the code in connectors is highly duplicated and a bit fragile.



>
> I am wondering about how exactly the server_push/hint will be enabled. I
> would probably use one of the ActionHook actions but which?
>
>
The question is how to expose it at servlet level - you can define new
ActionHooks, but they don't look very well used directly in a servlet.

Costin


Re: GSoC Tomcat SPDY Connectors

2010-04-03 Thread Costin Manolache
There is an implementation of SPDY client and server on
modules/tomcat-lite/java/org/apache/tomcat/lite/http/SpdyConnection - it's
the previous version, didn't have time to update it - and I won't probably
have until May, getting close to a launch.

Note that at the moment SPDY can't be fully implemented in java - for this
we'll need to use APR. The reason is that java SSL doesn't implement the
'next protocol negotiation' TLS extension - which is required by SPDY at the
moment. Hopefully an alternative protocol negotiation will be allowed.



Costin

On Sat, Apr 3, 2010 at 3:19 PM, Bill Barker  wrote:

>
>
> "Felix Kurth"  wrote in message
> news:4bb7b644.7080...@googlemail.com...
>
>  Hi
>>
>> I am highly interestet in implementing the SPDY protokoll for tomcat. The
>> last two days i was trying to figure out how connector development works.
>> All I could find was a hint that there is a C and a Java part (I am very
>> comfotable with Java and a little less with C).
>> now my Questions:
>> could somebody give me a hint:
>>  where i find the interface that connectors have to Implement?
>>
>
> These are in the org.apache.coyote package.  The Adapter is implemented by
> Tomcat, and the connector just gets an instance of it.
>
>
>   where can i find the http connector sourcecode for reference?
>>
>
> The implemented connectors are in sub packages under org.apache.coyote.
>
>
>   how much of the work has to be done in C?
>>
>
> Probably none.
>
>
>
>> greetings Felix
>>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


Re: GSoC Tomcat SPDY Connectors

2010-04-03 Thread Bill Barker



"Felix Kurth"  wrote in message 
news:4bb7b644.7080...@googlemail.com...

Hi

I am highly interestet in implementing the SPDY protokoll for tomcat. The 
last two days i was trying to figure out how connector development works.
All I could find was a hint that there is a C and a Java part (I am very 
comfotable with Java and a little less with C).

now my Questions:
could somebody give me a hint:
 where i find the interface that connectors have to Implement?


These are in the org.apache.coyote package.  The Adapter is implemented by 
Tomcat, and the connector just gets an instance of it.



 where can i find the http connector sourcecode for reference?


The implemented connectors are in sub packages under org.apache.coyote.


 how much of the work has to be done in C?


Probably none.



greetings Felix 




-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org