GithubHelp home page GithubHelp logo

nonnpn-spdy-test's Introduction

About This Project

As you know CocoaSPDY is based on Secure Transport (Apple's TLS implementation). And Secure Transport doesn't support NPN. Take a look at a note on npn.

The project that shows how CocoaSPDY works with node-spdy using nonNPN and forcing SPDY mode.

Thanks to indutny for helping me work out the no response problem.

nonnpn-spdy-test's People

Contributors

ohsc avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

plivesey

nonnpn-spdy-test's Issues

Can't get this to work locally

Does this library still work? I'm struggling to get CocoaSPDY working locally for development.

If I download as is, I get a lot of output, and the main error seems to be:

2015-10-09 12:58:36.427 NonNPN-SPDY Test[21055:212061] request failed: Error Domain=NSPOSIXErrorDomain Code=32 "Broken pipe" UserInfo={NSErrorFailingURLStringKey=https://127.0.0.1:3232/, NSErrorFailingURLKey=https://127.0.0.1:3232/}

I've forked the library (https://github.com/plivesey/NonNPN-SPDY-Test) and simplified a few things (GET request, and only make one). I've also updated to the latest version of CocoaSPDY. I now get this error:

2015-10-09 13:01:49.403 NonNPN-SPDY Test[21490:216915] begin time 2015-10-09 20:01:49 +0000
2015-10-09 13:01:49.418 NonNPN-SPDY Test[21490:216952] SPDY [ERROR] socket closing with error: Error Domain=SPDYSocketErrorDomain Code=6 "Unexpected end of stream." UserInfo={NSLocalizedDescription=Unexpected end of stream.}
2015-10-09 13:01:49.418 NonNPN-SPDY Test[21490:216952] SPDY [WARNING] <SPDYSession: 0x7fd893d0cb60> connection error: Error Domain=SPDYSocketErrorDomain Code=6 "Unexpected end of stream." UserInfo={NSLocalizedDescription=Unexpected end of stream.}
2015-10-09 13:01:49.419 NonNPN-SPDY Test[21490:216952] SPDY [INFO] <SPDYSession: 0x7fd893d0cb60> connection closed
2015-10-09 13:01:49.419 NonNPN-SPDY Test[21490:216952] SPDY [DEBUG] <SPDYSession: 0x7fd893d0cb60> closed
2015-10-09 13:01:49.419 NonNPN-SPDY Test[21490:216952] SPDY [INFO] <SPDYSession: 0x7fd893d0cb60> connection closed
2015-10-09 13:01:49.419 NonNPN-SPDY Test[21490:216915] request failed: Error Domain=SPDYSocketErrorDomain Code=6 "Unexpected end of stream." UserInfo={NSErrorFailingURLStringKey=https://127.0.0.1:3232/, NSErrorFailingURLKey=https://127.0.0.1:3232/, x-spdy-metadata-identifier=466113709.418976/7fd893ea5a90, NSLocalizedDescription=Unexpected end of stream.}
2015-10-09 13:01:49.419 NonNPN-SPDY Test[21490:216952] SPDY [INFO] stop loading https://127.0.0.1:3232/

Do you have any advice on how to work with CocoaSPDY locally?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.