GithubHelp home page GithubHelp logo

Comments (10)

lukeredpath avatar lukeredpath commented on July 24, 2024

Interesting. I'll take a look at this tomorrow (just heading off to bed) and see if I can reproduce using my test harness. There are also some other bugs around channels I need to look at too (see #25).

On a side-note, it's cool to hear you're using this for Gaug.es - I've been meaning to try it out for ages.

from libpusher.

lukeredpath avatar lukeredpath commented on July 24, 2024

Also, out of interest, do you do any further customisation of the authorisation request (e.g. inject an auth token header, set up basic auth) in the pusher:willAuthorizeChannelWithRequest: delegate method?

from libpusher.

bkeepers avatar bkeepers commented on July 24, 2024

@lukeredpath thanks for following up so quickly.

We are adding the user's token to the request:

- (void)pusher:(PTPusher *)pusher willAuthorizeChannelWithRequest:(NSMutableURLRequest *)request {
  [request setValue:User.token forHTTPHeaderField:@"X-Gauges-Token"];
}

from libpusher.

lukeredpath avatar lukeredpath commented on July 24, 2024

@bkeepers I was also wondering if you've tried the use-socket-rocket backend branch. It's still being tested but I've ripped out the web socket backend for one that's more up-to-date, conforms to spec and is being actively maintained (it's developed by the guys over at @square).

from libpusher.

bkeepers avatar bkeepers commented on July 24, 2024

I Haven't. We can give that a try.

On Feb 28, 2012, at 4:28 PM, Luke [email protected] wrote:

@bkeepers I was also wondering if you've tried the use-socket-rocket backend branch. It's still being tested but I've ripped out the web socket backend for one that's more up-to-date, conforms to spec and is being actively maintained (it's developed by the guys over at @square).


Reply to this email directly or view it on GitHub:
#26 (comment)

from libpusher.

lukeredpath avatar lukeredpath commented on July 24, 2024

@bkeepers some positive news is that I've been able to reproduce your issue (see the functional spec I've added in the above commit). If I can't get to the bottom of this tonight, I will do my best to fix this tomorrow.

from libpusher.

lukeredpath avatar lukeredpath commented on July 24, 2024

@bkeepers good news - I found the source of the bug. See the commit for more details. Thanks for reporting this issue, that could have lied undiscovered for a while.

I intend to get the use-socketrocket-branch merged into master ASAP and release a new version, but in the meantime please use the use-socketrocket-branch.

Me, on finding the bug:

facepalm

from libpusher.

bkeepers avatar bkeepers commented on July 24, 2024

Awesome, thanks! We'll give it a try tomorrow. If all goes well, we'll ship the next version of the Gaug.es iOS app using libPusher. :)

Thanks for your great work!

from libpusher.

bkeepers avatar bkeepers commented on July 24, 2024

I never followed up. That worked beautifully. The next version of the Gauges iOS app is submitted and waiting for approval. Thanks for sharing libPusher!

from libpusher.

lukeredpath avatar lukeredpath commented on July 24, 2024

Thanks for the follow up, great news. You are welcome.

from libpusher.

Related Issues (20)

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.