-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement chrome.sockets.tcp.secure #269
Comments
Interesting, considering that |
Ok good to know. We'll migrate to the new api too then. |
If you are looking for a wildly inaccurate estimate, I'd say end of Sept we'll have something for |
Great thanks! |
@oahziur FYI. chrome.sockets.tcp equivalent: https://developer.chrome.com/apps/sockets_tcp#method-secure |
@mmocny do you know about this? https://code.google.com/p/chromium/issues/detail?id=132896 EDIT: |
i added chrome.sockets.tcp support to our tcp-socket abstraction: emailjs/emailjs-tcp-socket#13 |
@felixhammerl A workaround for https://code.google.com/p/chromium/issues/detail?id=403076 is calling Here is a sample test on chrome mobile-chrome-apps/chrome-cordova/chrome-apps-api-tests/tests/auto/test.chrome.sockets.tcp.js Line 259 in 8292575
|
ok, that might work for TLS. |
@oahziur any ideas on how to handle the pending read in the STARTTLS use case? |
@felixhammerl I didn't know any good solution for STARTTLS now (both for Chrome Desktop and iOS). However, I found that the pending read can be consumed by receiving some data after paused, and the receive event will also be called. If you
I have tested this on |
ok, interesting... |
The |
that sounds awesome! i'm looking forward to when we have native tls on all platforms 👍 |
are there any updates on this? |
@felixhammerl I am waiting on the fix of Chrome desktop, |
i already asked this on twitter, apparently the issue has been silently purged? can you confirm this? is google abandoning tcp sockets in chrome apps? |
I think it was a mistake. I've posted a question about it. Not sure what's On Fri, 27 Feb 2015 15:42 Felix Hammerl notifications@github.com wrote:
|
Any update on the The chromium issue url (https://code.google.com/p/chromium/issues/detail?id=403076) seems to be broken. But it's still visible in the chromium-bugs google group: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-bugs/i9qykTWzj6g This has been a problem for us a while now, since we can't switch to the native TLS stack on iOS and android because of it. We already bugged Matt Gaunt from the Chrome Team when he was in Munich (https://twitter.com/tankredhase/status/573243929333776384). It would be great if someone from the CCA team could also drive this issue from your side :/ thanks |
Thanks for the poke. Seems its disappearance was in fact a mistake done by an unhelpful bot. I've created a new (public) issue to continue tracking the status of it: We'll hopefully get an update about the status soon. Going to mark this issue as closed since |
Ok thanks. I have opened a new issue to track the progress: #532 |
Good news. Chrome socket is getting native TLS support in Chrome 38: https://developer.chrome.com/apps/socket#method-secure
We have gone ahead and added support to our tcp-socket shim and tested this in chrome canary: https://github.com/whiteout-io/tcp-socket/blob/7f88ffe0ce5f33a22a1489f3bcaa2e9d0bd6474d/src/tcp-socket.js#L247
It would be great to see this api come to iOS/Android as well since native TLS would obviously be much faster and battery conserving.
Thanks!
The text was updated successfully, but these errors were encountered: