You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the record, this happens because we don't check the Content-Type header here.
ClientConn.Do returns an *http.Response. If the Content-Type header is applciation/json then we should just do normal decoding. If it's application/vnd.empire.raw-stream, then we should do the io.Copy.
The other bug here is that, when this happens the command gets "stuck" and never returns. You can find the process and kill it (killall emp), but then your terminal is stuck because apparently the defer to reset the terminal never gets run. Then you have to $ reset the terminal.
The text was updated successfully, but these errors were encountered: