Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error write tcp 172.22.0.1:55036->172.22.0.2:8081: write: broken pipe for multiple requests in one connection session #2

Closed
outdead opened this issue Nov 15, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@outdead
Copy link
Member

outdead commented Nov 15, 2020

conn, err := Dial(addr, password)
if err != nil {
	panic(err)
}

// All is correct.
result, err := conn.Execute("help") 
if err != nil {
	panic(err)
}

// Wrong result - must be `*** ERROR: unknown command 'status'` but got previous result value.
result, err := conn.Execute("status") 
if err != nil { 
	panic(err)
}

// Got err `write tcp 172.22.0.1:55036->172.22.0.2:8081: write: broken pipe`.
result, err := conn.Execute("help") 
if err != nil { 
	panic(err) 
}
@outdead outdead self-assigned this Nov 15, 2020
@outdead outdead added the bug Something isn't working label Nov 15, 2020
@outdead
Copy link
Member Author

outdead commented Nov 16, 2020

Fixed in v1.1.0

@outdead outdead closed this as completed Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant