BRAbraham--
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/4937b529-c1aa-4425-8b81-01214c1fc1f7n%40googlegroups.com.
Hi,
Yes, that is what intend to implement. Can you help with some information about howI 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 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 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 way to detect that at the client so that the client can start a persistent request.If possible, how can I do that in golang HTTP client?Are you thinking about implementing a connection pool for your long lived process?BRAbraham--
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/4937b529-c1aa-4425-8b81-01214c1fc1f7n%40googlegroups.com.
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/d2125284-5529-4c95-82c7-3a8dac7fde78n%40googlegroups.com.