On 1 June 2017 17:03:48 BST, Christopher Schultz <ch...@christopherschultz.net> wrote: >Mark, > >On 6/1/17 11:46 AM, Mark Thomas wrote: >> On 1 June 2017 15:33:46 BST, Christopher Schultz >> <ch...@christopherschultz.net> wrote: >>> Tobias, >>> >>> On 6/1/17 3:53 AM, Tobias Soloschenko wrote: >>>> a long time ago I tried out to install Apache Tomcat with >>>> HTTP/2 support on macOS. I finally got a short time window to >>>> complete a developer quickstart guide for that: >>> >>> Wouldn't this all be a lot easier if you used the NIO connector >>> instead of APR? No XCode/OpenSSL/tcnative necessary. >> >> But then you wouldn't have HTTP/2 support. Well you could have >> HTTP/2 if you used 9.0 x on Java 9 but there were a few wrinkles >> running Tomcat on Java 9 the last time I checked. > >Oh, I didn't realize that HTTP/2 required the APR connector.
It doesn't. It does require tomcat-native on 8.5.x. >Funny... there is nothing on the Tomcat 8.5 HTTP/2 page that says >anything about that requirement: >http://tomcat.apache.org/tomcat-8.5-doc/config/http2.html > >The HTTP/1.1 connector docs allude to this fact: >http://tomcat.apache.org/tomcat-8.5-doc/config/http.html#HTTP/2_Support > >... but it's not explicitly said that the APR connector is required. >From my reading, NIO+OpenSSL should work. Is that true? Correct. >Of course, NIO+OpenSSL requires that libtcnative be available, so the >only question is whether NIO+OpenSSL is as reliable as the APR >connector (or vice-versa). I'd opt for NIO+OpenSSL as my first choice. Mark > >Thanks for putting together this guide, Tobias. > >-chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org