[grpc-io] Re: Calling SendAndClose stream does not result io.EOF error

2023-05-17 Thread torpido
I just realized that SendAndClose should not send EOF but simply indicate 
that the stream should be closed.
What I'm trying to achieve is for the gRPC server to close the streamhim 
self instead of waiting for the client to send EOF.
Can this be done from the gRPC server side? 

ב-יום רביעי, 17 במאי 2023 בשעה 22:57:01 UTC+3, Zach Reyes כתב/ה:

> Can you provide both the client and server code snippet (preferably 
> reproducible), so we can run and see what's going on here.
>
> On Wednesday, May 17, 2023 at 8:12:42 AM UTC-4 torpido wrote:
>
>> hi,
>>
>> Does anyone have any idea why when I call SendAndClose from the server 
>> stream I don't get an io.EOF error but instead the error is nil, so my 
>> stream is never closed?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/a5d08ec6-00bb-46a6-bb66-21d1d1d64e90n%40googlegroups.com.


[grpc-io] Re: Calling SendAndClose stream does not result io.EOF error

2023-05-17 Thread 'Zach Reyes' via grpc.io
Can you provide both the client and server code snippet (preferably 
reproducible), so we can run and see what's going on here.

On Wednesday, May 17, 2023 at 8:12:42 AM UTC-4 torpido wrote:

> hi,
>
> Does anyone have any idea why when I call SendAndClose from the server 
> stream I don't get an io.EOF error but instead the error is nil, so my 
> stream is never closed?
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/db2db5a9-780b-4013-9347-3d7ab6a13d9en%40googlegroups.com.