The x/net/http2 client doesn’t currently support receiving push promises -
https://github.com/golang/net/blob/master/http2/transport.go#L2955
The tracking task is https://github.com/golang/go/issues/18594
-eli
> On Jan 26, 2023, at 11:29 AM, cheng dong wrote:
>
> says we do a server-push from
gob have bad performance compare to gogo-proto. in fact, every reflection
base encode/decode library do bad
On Thursday, May 21, 2020 at 12:03:18 AM UTC+8 Saied Seghatoleslami wrote:
Why not use gob encoding? I am using it across nats and it is working
fine. The only workaround that I have ha
says we do a server-push from http2 server, then how could we handle it in
golang code by http client in go 1.20rc3?
was there a HandlePush in early go version, if i did not forget
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe
On Thu, Jan 26, 2023, 8:15 AM Roland Müller wrote:
>
>
> Am Mittwoch, 25. Januar 2023 schrieb 'Jakob Borg' via golang-nuts <
> golang-nuts@googlegroups.com>:
> > On 25 Jan 2023, at 12:26, Shashwat wrote:
> >>
> >> Is it safe to declare a variable inside an infinite loop ?
> >>
> >> for {
> >>
I should have RTFMed, but even there, the nil display issue is not
highlighted :) Thanks. It seemed odd that there wasn't already a way. It
might be good to highlight this feature in the right places. I'm not sure
if golangdocs.com is the official easy on-ramp for golang but if so, at
https://gola
Java would no-op that entire loop since it does nothing that is externally
visible.
> On Jan 26, 2023, at 9:30 AM, Roland Müller wrote:
>
>
>
> Am Mittwoch, 25. Januar 2023 schrieb 'Jakob Borg' via golang-nuts
> :
> > On 25 Jan 2023, at 12:26, Shashwat wrote:
> >>
> >> Is it safe to decla
On Thursday, 26 January 2023 at 15:38:28 UTC Brian Candler wrote:
> As a goroutine may terminate if panic occurs
If that happens, it will crash the entire program (go isn't python :-)
https://go.dev/play/p/YD3lQ-xWe29
... although other goroutines may continue for a very short time
afterwards.
> As a goroutine may terminate if panic occurs
If that happens, it will crash the entire program (go isn't python :-)
https://go.dev/play/p/YD3lQ-xWe29
> I used recover() to log the error and the monitoring thread is
re-created. But this doesn't help either. I noticed that the goroutine has
bee
Am Mittwoch, 25. Januar 2023 schrieb 'Jakob Borg' via golang-nuts <
golang-nuts@googlegroups.com>:
> On 25 Jan 2023, at 12:26, Shashwat wrote:
>>
>> Is it safe to declare a variable inside an infinite loop ?
>>
>> for {
>> a := 0
>> a += 1
>> }
>>
>> Won't this cause memory allocation in e
I need to monitor the status of the N sensors and log it. I am creating a
separate goroutine for each sensor which fetches the state and logs it at
regular intervals. For each goroutine, a channel is created to read the
termination signal. Each sensor's state is maintained in sync.Map. The map
10 matches
Mail list logo