That probably wasn’t clear. Why not create a Transport per host. Then when the 500 is encountered stop using that transport completely and create a new instance. Probably want to cancel any requests currently in flight. The connection pool is per transport. On Apr 2, 2024, at 11:05 PM, Eli Lindsey <e...@siliconsprawl.com> wrote: -- 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/6AA93658-082F-4580-A3BD-6603D1D83394%40ix.netcom.com. |
- [go-nuts] net/http: no Client API to close ser... Jim Minter
- Re: [go-nuts] net/http: no Client API to ... 'Sean Liao' via golang-nuts
- Re: [go-nuts] net/http: no Client API... Jim Minter
- Re: [go-nuts] net/http: no Client... Robert Engels
- Re: [go-nuts] net/http: no Client API to ... Eli Lindsey
- Re: [go-nuts] net/http: no Client API... Robert Engels
- Re: [go-nuts] net/http: no Client... Eli Lindsey
- Re: [go-nuts] net/http: no Cl... Robert Engels
- Re: [go-nuts] net/http: ... Jim Minter
- Re: [go-nuts] net/ht... Robert Engels
- Re: [go-nuts] ne... Jim Minter