Guys, what does it mean when a guy asks for a hug?

There is a guy that I barely know but have great conversations with him when I run into him. Last time I saw him we talked for a while. When I said I needed to go he said "can I have a hug?".

Whats that all about?
Guys, what does it mean when a guy asks for a hug?
Post Opinion