-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Implementation of per message deflate extension #574
Comments
Hey @marci4, I want to struggle with this issue but it seems a bit dated. I just wanted to confirm whether it is still expected/needed or not. Also, I may have to request your opinion on some design issues sometimes if that's okay ? 😅 |
hello @haruntuncay, thank you for your interest in this issue! Yes this is still somewhat planned but I simple does not have the time for this. Of course, you can send me a mail or ping me in github whenever you want :) Always happy to help. Best regards, |
Hi @marci4, I have found this generic LZ77 implementation by Apache but I don't know about license issues and I also implemented LZ77 myself using the same hash chaining technique that is described in section 4 of RFC-1951 Deflate Algorithm with a circular-sliding window. Now, I don't know which one would be more suitable for the project and I wanted to hear your idea on which should be chosen. I personally would like to use my own implementation because I think it would be easier to maintain and has no license issues, btw I will share my impl on github later today. Do you think it is more suitable to choose ready-built implementation or implement it separately and use that ? (both for LZ77 and Deflate) EDITI have decided to NOT to re-invent the wheel and use the LZ77 implementation provided under Apache license. Please give me a heads-up if you think that would not be appropriate for the project. |
Why would the Apache license be a problem? |
Hey @marci4, |
TL;DRI see problems in including sources licensed under Apache-2 in this project and would like to do without them. Long story:On my work I was among other things busy the last half year to examine Chromium, CEF and CefSharp and the licenses contained therein.
All these things I would like to avoid for this project. If we include the Apache component in this project, I think it will have the following effects:
Although it is not difficult for us as an OpenSource project to integrate other OpenSource software, this leads to a considerable additional effort for the users of the library in the administration of the licenses and the resulting compliance with these. In my opinion, there are therefore the following possible solutions:
The last variant would be my favorite. |
I am pretty sure you can use the Deflater, e.g. https://github.com/TakahikoKawasaki/nv-websocket-client is also using it for their implementation. Best regards, |
Hey @marci4, |
Hey
Yes doing really good. Currently on a vacation :)
The implementation looks clean :)
Nothing I can really spot. Thank you for your work !
Best regards,
Marcel
Am March 7, 2019 9:12:13 PM UTC schrieb haruntuncay <notifications@github.com>:
…Hey @marci4,
Hope you're doing well. When you have the time, could you please check
the implementation from [this
gist](https://gist.github.com/haruntuncay/f9a13ba364dfd203beeb84c3facabb87)
. I would like to hear your opinion on it, before submitting a PR. Btw,
I will delete the gist file after your review.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#574 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
@marci4, Thank you for taking the time to review it. I will send a PR soon. Have a fun vacation :) |
Add PerMessageDeflate Extension support, see #574
Fixed with #866 |
Planned for a future version!
https://tools.ietf.org/html/rfc7692
The text was updated successfully, but these errors were encountered: