Currently the shim does not wait explicitly for the ConnectShim response from proxy, but processes it async in the poll loop.
The idea here is for the shim to connect to proxy, issue ConnectShim response and then wait for response from proxy.
If error is received, exit as before else pause until the runtime sends a continue signal to shim.
This way the shim does not process the stream data until the start oci phase when the runtime unpauses it. Similarly the runtime would need to send a sigcont for exec as well.
Currently the shim does not wait explicitly for the ConnectShim response from proxy, but processes it async in the poll loop.
The idea here is for the shim to connect to proxy, issue ConnectShim response and then wait for response from proxy.
If error is received, exit as before else pause until the runtime sends a continue signal to shim.
This way the shim does not process the stream data until the start oci phase when the runtime unpauses it. Similarly the runtime would need to send a sigcont for exec as well.