<henry_bone>
I find myself in need of websocket support for my rails app.
<henry_bone>
I am somewhat tied to deploying my app as a war file
<henry_bone>
and so I have been exploring the jruby-rack code to see if I can implement rack-hijack in order to have actioncable (rails websockets) available to my app
<henry_bone>
My questions are about jruby-rack and rack-hijack. Is there a preferred design/approach to adding rack-hijack support to jruby-rack?
<henry_bone>
My understanding of Rails' ActionCable is that the webserver needs to support rack-hijack, and my current understanding is that jruby-rack could be modified to implement it and thus allow ActionCable connections to work through Jetty
<henry_bone>
If my assumptions are incorrect re: rack-hijack, then please let me know.
<henry_bone>
Is there an existing implementation, or method for getting ActionCable to work for a Rails app served with embedded Jetty?
<henry_bone>
If not, then I'm happy to have a crack at it, so if there's any guidance/hints regarding the implementation I'd love to hear them.
ur5us has quit [Ping timeout: 240 seconds]
jeff_ has joined #jruby
jeff_ is now known as Guest62232
henry_bone has quit [Quit: henry_bone]
Guest62232 is now known as henry_bone
henry_bone has left #jruby ["Good Bye"]
henry_bone has joined #jruby
henry_bone has quit [Client Quit]
nirvdrum has joined #jruby
nirvdrum has quit [Ping timeout: 256 seconds]
ChrisBr has quit [*.net *.split]
rebelwarrior[m] has quit [*.net *.split]
slackfan[m] has quit [*.net *.split]
klobuczek[m] has quit [*.net *.split]
RomainManni-Buca has quit [*.net *.split]
aemadrid[m] has quit [*.net *.split]
headius[m] has quit [*.net *.split]
lopex has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
ang-st has quit [*.net *.split]
knu has quit [*.net *.split]
Osho has quit [*.net *.split]
Caerus has quit [*.net *.split]
adam12 has quit [*.net *.split]
claudiuinberlin[ has quit [*.net *.split]
JulesIvanicGitte has quit [*.net *.split]
KarolBucekGitter has quit [*.net *.split]
xardion[m] has quit [*.net *.split]
kares[m] has quit [*.net *.split]
BlaneDabneyGitte has quit [*.net *.split]
enebo[m] has quit [*.net *.split]
TimGitter[m]1 has quit [*.net *.split]
ebarrett has quit [*.net *.split]
_whitelogger has joined #jruby
nirvdrum has quit [Ping timeout: 256 seconds]
lopex[m] has joined #jruby
rtyler1 has joined #jruby
drbobbeaty has joined #jruby
rdubya[m] has joined #jruby
TimGitter[m] has joined #jruby
cshupp[m] has joined #jruby
annette[m] has joined #jruby
MattPattersonGit has joined #jruby
ThomasEEneboGitt has joined #jruby
rwilliams[m] has joined #jruby
nirvdrum has joined #jruby
postmodern has quit [Quit: Leaving]
shellac has joined #jruby
nirvdrum has quit [Ping timeout: 256 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
nirvdrum has joined #jruby
nirvdrum has quit [Remote host closed the connection]
shellac has joined #jruby
nirvdrum has joined #jruby
<headius[m]>
good morning! 🌅
lucasb has joined #jruby
<headius[m]>
enebo: doesn't seem to be a ton of parser failures in language specs, but this is one of them
<enebo[m]>
Interesting they track mbc on identifiers as they build up the potential identifier but then skip keyword search on it if it is not 7bit
<enebo[m]>
nirvdrum: ^
<enebo[m]>
I could see this preventing the search but at the cost of calling !ISASCII on every byte read
<enebo[m]>
most identifiers tend to be 7bit so as an optimization it seems like it would not work
<nirvdrum>
enebo[m]: I think I missed some of the context here. It sounds like you're saying the identifier rules changed in the MRI parser. Is that right?
<enebo[m]>
nirvdrum: I was changing ident code because constant values were relaxed
<enebo[m]>
nirvdrum: or the check allows more constant values than the past
<enebo[m]>
nirvdrum: but I noticed they ISASCII all bytes in an ident (and I thought of you) but then noticed they literally only use it to short circuit and not do keyword lookup
<nirvdrum>
Interesting. I haven't looked at the parser in a while. But, both JRuby and TruffleRuby already track the code range of identifiers, I believe. So, I don't know how much is to be gained here.
<nirvdrum>
Maybe I have that wrong. I should fire up IntelliJ.
<enebo[m]>
I do not think we do for idents
<enebo[m]>
we do for strings and regexps
nirvdrum has quit [Ping timeout: 260 seconds]
<enebo[m]>
headius: constant capital thing fixed...may revisit layer but you said 3 syntax errors what was the third?
<headius[m]>
ok if you have parser stuff fixed I got the other one done so 2.6 language specs should be 👍️
<headius[m]>
there were two for lambda rescue
<enebo[m]>
headius: ah ok those are fixed then
<headius[m]>
progress!
<headius[m]>
I'm working my way down NEWS checklist now