-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PodOperationsImpl
should call listener.onOpen
before marking the future as complete
#3957
Comments
AdrianFarmadin
added a commit
to AdrianFarmadin/kubernetes-client
that referenced
this issue
Mar 10, 2022
…he connection as open
AdrianFarmadin
added a commit
to AdrianFarmadin/kubernetes-client
that referenced
this issue
Mar 14, 2022
…he connection as open
Hey @AdrianFarmadin |
manusa
pushed a commit
to AdrianFarmadin/kubernetes-client
that referenced
this issue
Mar 22, 2022
…he connection as open
11 tasks
manusa
pushed a commit
to AdrianFarmadin/kubernetes-client
that referenced
this issue
Mar 22, 2022
…he connection as open
manusa
pushed a commit
to AdrianFarmadin/kubernetes-client
that referenced
this issue
Mar 22, 2022
…he connection as open
manusa
pushed a commit
that referenced
this issue
Mar 22, 2022
manusa
pushed a commit
to manusa/kubernetes-client
that referenced
this issue
Apr 5, 2022
…he connection as open (cherry picked from commit eaf7a15) Signed-off-by: Marc Nuri <[email protected]>
manusa
pushed a commit
to manusa/kubernetes-client
that referenced
this issue
Apr 5, 2022
…he connection as open (cherry picked from commit eaf7a15) Signed-off-by: Marc Nuri <[email protected]>
manusa
pushed a commit
that referenced
this issue
Apr 5, 2022
…tion as open (cherry picked from commit eaf7a15) Signed-off-by: Marc Nuri <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
buildAsync
method inOkHttpWebSocketImpl
class is called withExecWebSocketListener
as parameter.The
ExecWebSocketListener
is openingoutputPipe
anderrorPipe
inonOpen
.If the
future
is completed before theoutputPipe
anderrorPipe
are open, then the consumer can read from the pipes before they are open.This can cause
Pipe not connected
exception.The pipes should be first open and then the future should be marked as complete.
Fabric8 Kubernetes Client version
other (please specify in additional context)
Steps to reproduce
PodOperationsImpl
and defineoutPipe
anderrPipe
Expected behavior
No
Pipe not connected
exceptionRuntime
Kubernetes (vanilla)
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Fabric8 Kubernetes Client Logs
No response
Additional context
Fabric8 Kubernetes Client version > 5.11
Kubernetes API Server version: v1.20.11
The text was updated successfully, but these errors were encountered: