Skip to Content [alt-c]

Comment

In reply to Preventing Server Side Request Forgery in Golang

Reader Taras on 2022-03-21 at 19:49:

Thanks for the solution!

By the way:

// If Control is not nil, it is called -> after creating the network <- // connection but before actually dialing.

but in your post you write that:

This function is called by Go's standard library after the address has been resolved, but -> before connecting<- .

What is the true? :)

Reply

Post a Reply

Your comment will be public. To contact me privately, email me. Please keep your comment polite, on-topic, and comprehensible. Your comment may be held for moderation before being published.

(Optional; will be published)

(Optional; will not be published)

(Optional; will be published)

  • Blank lines separate paragraphs.
  • Lines starting with > are indented as block quotes.
  • Lines starting with two spaces are reproduced verbatim (good for code).
  • Text surrounded by *asterisks* is italicized.
  • Text surrounded by `back ticks` is monospaced.
  • URLs are turned into links.
  • Use the Preview button to check your formatting.