But quic-go can be used with net/http

Just call http3.ListenAndServeQUIC instead of http.ListenAndServeTLS
and all your handlers should just work.

QUIC is still evolving, and putting it inside the Go standard library means 
that 
it would be bound by the Go 1 compatibility promise, effectively freezing 
its behaviour.
Having it in the standard library would also tie it to Go's six-monthly 
release cycle,
(whereas quic-go seems to get released around once a month).

- amnon


On Thursday, 8 October 2020 at 17:56:09 UTC+1 axel.wa...@googlemail.com 
wrote:

> I think part of that has been answered: It allows using it with net/http.
>
> On Thu, Oct 8, 2020 at 6:37 PM Amnon <amn...@gmail.com> wrote:
>
>> You can try https://github.com/lucas-clemente/quic-go
>>
>> You asked specifically about a builtin package i.e. a package in the 
>> standard library.
>> But I am not sure what advantages locating new protocols into the 
>> standard library 
>> would bring.
>>
>> On Thursday, 8 October 2020 at 09:00:20 UTC+1 ran...@gmail.com wrote:
>>
>>> Hello people :D
>>>
>>> I just want to pop up to ask whether or not there will be a builtin 
>>> package that implements QUIC for Go.
>>>
>>> As you may have already heard, the standardization for QUIC is almost 
>>> done, many people are rushing to implement the protocol for their own 
>>> product.
>>>
>>> Since more and more people is expected to use QUIC in the future, it 
>>> could be beneficial to include it as part of the Go standard package, as 
>>> doing so not only could provide a way for server developers to implement 
>>> QUIC servers/client with ease, but it could also help the net/http 
>>> implement to their QUIC transport for both it's server and client.
>>>
>>> So maybe consider it?
>>>
>>> Thanks!
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/golang-nuts/9cf1b1b1-3950-4a4b-9bf1-9b36f96cc874n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/golang-nuts/9cf1b1b1-3950-4a4b-9bf1-9b36f96cc874n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/42e27b8d-58ee-4d1b-ae1d-069de7d65614n%40googlegroups.com.

Reply via email to