I originally discovered this issue about a year ago. An ESP will instantly crash as a result of using Websockets and this library. Opening, closing and reopening a websocket will crash the ESP every time. Today, I discovered that Google Chrome on iOS is also triggering crashes. I thought it was just Apple Safari. The bug is related to NSURLSesson WebSocket protocol now favoured by almost all web browser applications.
This bug completely kills my product development. I have been working for two full years on commercial project. Now, my work has been made useless because of this bug. me-no-dev is now me-no-found. The owner has abandoned this library several years ago.
I WOULD PAY SOMEONE TO FIX THIS LIBRARY.
Please read below for my original issue posted from over a year ago. The origin post was automatically closed because of lack of action.
After some instinctive snooping, I have found a major incompatibility with Apple Safari on MacOS and iOS. I'm not sure what exactly is going on, but definitely put my finger on the issue being NSURLSession Websocket enabled in Safari "Experimental Feature" settings. This will crash the ESP when closing and reopening the websocket with the same client. I have confirmed that disabling Apple Safari NSURLSession Websocket stops the ESP from crashing.
Apple started enabling NSURLSession Websocket by default in iOS15 and MacOS 11+ (Big Sur or Monterey ?) Hence, the problem started showing up on Mac and iPhones etc. Every time you update Safari, iOS, or MacOS, the NSURLSession Websocket setting is enabled again.
Older system software has the experimental feature disabled by default: iOS 14.2 and Mac OS 10.14.x (Mojave)
I'm not a internet transport protocol geek, so I can't help other than tell you this general incompatibility issue. I was googling about what NSURL is doing and some developers were suggesting that: a) apple is transmitting a bad websocket data closure frame, or. b) it is a new standard for websocket protocol?¿
This bug is a real show stopper as it kills my ESP product dev.
Sincerely,
Noel Rubin http:://teknoelogy.com