PSPDFKit-labs / bypass

Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.
https://hex.pm/packages/bypass
MIT License
964 stars 111 forks source link

Any support for ranch 2.x? #119

Open IceDragon200 opened 3 years ago

IceDragon200 commented 3 years ago

I haven't seen anything related to this so I'm asking here.

Are there any plans to support ranch 2.x, at the moment bypass is locked to 1.7.x, I think it's been there long enough to gain some traction, if not I'll be looking into it some time soon.

tfwright commented 2 years ago

Currently I need to use Ranch 2+ for its more advanced socket handling, which makes it impossible for me to use Bypass.

IceDragon200 commented 3 months ago

I thought I'd just say something in case someone is hoping ranch 2.x support will be added:

It will likely not happen as long as cowboy is locked to ranch = 1.8.0. And it's been like that for some time now.

supermaciz commented 2 months ago

https://github.com/ninenines/cowboy/issues/1476

Recent versions of cowboy support ranch 2.0. Using override could fix this lock issue.