Hi, I am trying to create a go routine to direct the request to another url:
go http.ListenAndServe(":8000", http.RedirectHandler("https://127.0.0.1:8001",301)) I had earler made a mistake and had typed in "https://127.0.0.1/:8001" for the url string. But now after rectifying the mistake to the above, I am still being redirected to the incorrect url. When I type in the url ""https://127.0.0.1:8001", the page is rendered correctly. Is there a need to explicitly stop go routines. Strangely even after restarting the m/c, the request is being redirected incorrectly. Thanks Rejoy -- 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. For more options, visit https://groups.google.com/d/optout.