| As a reference, using nghttp2-0.6.7  (which curl depends upon to
    support HTTP/2) results in the following: 
 nghttp https://localhost:8443 -v
 [ERROR] HTTP/2 protocol was not selected. (nghttp2 expects h2-14)
 Some requests were not processed. total=1, processed=0
 
 nghttp https://webtide.com
    -v
 [ERROR] HTTP/2 protocol was not selected. (nghttp2 expects h2-14)
 Some requests were not processed. total=1, processed=0
 
 whereas this does work for nghttp2.org or a local nghttp2 server:
 
 nghttp https://localhost:3000 -v
 [  0.003][NPN] server offers:
 * h2-14
 The negotiated protocol: h2-14
 [  0.004] send SETTINGS frame <length=12, flags=0x00,
    stream_id=0>
 (niv=2)
 [SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100]
 [SETTINGS_INITIAL_WINDOW_SIZE(0x04):65535]
 [  0.004] send HEADERS frame <length=33, flags=0x05,
    stream_id=1>
 ; END_STREAM | END_HEADERS
 (padlen=0)
 ; Open new stream
 :authority: localhost:3000
 :method: GET
 :path: /
 :scheme: https
 accept: */*
 accept-encoding: gzip, deflate
 user-agent: nghttp2/0.6.7
 
 
 
 
 On 2014-12-12 12:28, Jeroen van der
      Hooft wrote:
 
      
      Dear Greg,
 http://curl.haxx.se/download.html
      provides the latest released curl version, 7.39.0
 
 I am using yesterday's version at https://github.com/eclipse/jetty.project,
      repo commit 2b196a9ae194d61fefbec0938b328ad474fd2b6b
 
 I can use curl with HTTP/2 to hit e.g. nghttp2.org:
 
 < HTTP/2.0 200
 < accept-ranges:bytes
 < content-length:28617
 < content-type:text/html
 < date:Fri, 12 Dec 2014 11:22:01 GMT
 < etag:"547b2e3d-6fc9"
 < last-modified:Sun, 30 Nov 2014 14:48:29 GMT
 < server:nghttpx nghttp2/0.6.8-DEV
 < via:1.1 nghttpx
 < strict-transport-security:max-age=3153600
 
 Using the same approach, an invalid preface error is thrown. Both
      from curl as from the browser.
 
 Kind regards,
 
 Jeroen van der Hooft
 
 
 
 On 2014-12-12 12:06, Greg Wilkins
        wrote:
 
        hmmm I can't find curl 7.39.0 for ubuntu... 
 
 
 _______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users 
 
 |