Re: [go-nuts] How to detect if transport connection break

2020-11-20 Thread Amit Saha
On Sat, 21 Nov 2020, 2:12 am Afriyie Abraham Kwabena, < afriyie.abra...@gmail.com> wrote: > Hi, > > Yes, that is what intend to implement. Can you help with some information > about how > I could implement it. > If possible some libraries or example code. > The standard library's http client as

Re: [go-nuts] How to detect if transport connection break

2020-11-20 Thread Afriyie Abraham Kwabena
Hi, Yes, that is what intend to implement. Can you help with some information about how I could implement it. If possible some libraries or example code. Abraham On Friday, November 20, 2020 at 1:07:12 PM UTC+2 Afriyie Abraham Kwabena wrote: > Hi, > > Am new to programming and if you could

Re: [go-nuts] How to detect if transport connection break

2020-11-20 Thread Afriyie Abraham Kwabena
Hi, Am new to programming and if you could explain further what you mean by long lived process. On Friday, November 20, 2020 at 11:41:42 AM UTC+2 amits...@gmail.com wrote: > > > On Fri, 20 Nov 2020, 7:51 pm Afriyie Abraham Kwabena, < > afriyie...@gmail.com> wrote: > >> >> Hi, >> >> My basic

Re: [go-nuts] How to detect if transport connection break

2020-11-20 Thread Amit Saha
On Fri, 20 Nov 2020, 7:51 pm Afriyie Abraham Kwabena, < afriyie.abra...@gmail.com> wrote: > > Hi, > > My basic understanding of HTTP protocol is that an HTTP client sent > request, get response from the HTTP server and then the connection is > closed. > > My question is how can an HTTP client

[go-nuts] How to detect if transport connection break

2020-11-20 Thread Afriyie Abraham Kwabena
Hi, My basic understanding of HTTP protocol is that an HTTP client sent request, get response from the HTTP server and then the connection is closed. My question is how can an HTTP client detect if the underling transport connection break. For example if the HTTP server shutdown, is there a