molly-brown doesn't respect Port in config #1

Closed
opened 2020-05-21 07:04:41 +00:00 by strega-nil · 5 comments
Contributor

As I was setting up a beta server for my website, I noticed that, if one sets Port in the config, that option is not respected in molly brown. This should be a simple fix, which I'll PR in a sec.

As I was setting up a beta server for my website, I noticed that, if one sets `Port` in the config, that option is not respected in molly brown. This should be a simple fix, which I'll PR in a sec.
Owner

Hey, thanks for the report! But don't worry about the PR - I actually fixed this myself recently but forgot to push the commit here! I've just done it now.

Hey, thanks for the report! But don't worry about the PR - I actually fixed this myself recently but forgot to push the commit here! I've just done it now.
Owner

Oh dear, I was six seconds late!

Oh dear, I was six seconds late!
Owner

Sorry about the confusion here, I feel bad. :( However, I'm curious about the difference between your PR and my own fix, doesn't tls.Listen need an address string and not a numeric port, or have I missed something? If you tested your version and it worked I might adopt it afterall because it's certainly simpler...

Sorry about the confusion here, I feel bad. :( However, I'm curious about the difference between your PR and my own fix, doesn't `tls.Listen` need an address string and not a numeric port, or have I missed something? If you tested your version and it worked I might adopt it afterall because it's certainly simpler...
Author
Contributor

I'm fairly certain my version doesn't work; I pushed when I was tired and didn't test and that is a bad combo.

Otoh, yours does, I think, need an import strconv.

I'm fairly certain my version doesn't work; I pushed when I was tired and didn't test and that is a bad combo. Otoh, yours does, I think, need an `import strconv`.
Owner

Whoops, fixed, thanks! Careless use of git add --patch on my part.

Whoops, fixed, thanks! Careless use of `git add --patch` on my part.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: solderpunk/molly-brown#1
No description provided.