<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 18, 2019 at 7:55 AM josh zinny <<a href="mailto:joshzinny@yahoo.com">joshzinny@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:verdana,helvetica,sans-serif;font-size:13px"><div dir="ltr">Hi guys,</div><div dir="ltr"><br></div><div dir="ltr">I was wondering if http2/3 is one the roadmap for Inets? I know there's is Cowboy and Gun. <br></div><div dir="ltr">However, I'm interested in the Inets httpd(http2). I have read the Erlang 22.1 documentation, but it only references http/1.1.</div><div dir="ltr"><br></div><div dir="ltr">Also, any suggestions on how to achieve this or a workaround will be greatly appreciated.</div><div dir="ltr"><br></div></div></div></blockquote><div><br></div><div>I do not know about the OTP team's plans with regards to supporting HTTP/2, but I can say this: HTTP/2 is sufficiently complex and different from HTTP/1.1 that it's not just a workaround to add support to it; it essentially asks people to reimplement something reminiscent of SCTP over TCP in order to provide multiple channels, and includes things like reimplementing the sliding window mechanisms that exist within individual TCP connections. The workaround to "wanting to use HTTP/2" is "use an HTTP/2 library"; it's too complex to just add rapidly. If not Cowboy and Gun, then something like Chatterbox can be an acceptable library, and if these do not work, then using some sort of HTTP2-to-HTTP1 proxy, which some service providers in the cloud can do for you, generally.</div><div><br></div><div>Regards,</div><div>Fred.<br></div></div></div>