Skip to content

Invalid port * after host #48

@omani

Description

@omani

hi there,
with the new golang version (and its built in url lib):

if !n.bound {
		_, n.port, err = bind(n.inbox, "tcp://*:*")
		if err != nil {
			return err
		}
		n.bound = true
	}

in node.go does not work anymore.

my workaround was to say:

if !n.bound {
		_, n.port, err = bind(n.inbox, "tcp://*:0")
		if err != nil {
			return err
		}
		n.bound = true
	}

in node.go

and:

	if p == "0" {
...

in node.go later. instead of if p == "*".

fyi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions