FreeURL(&IO->ConnectMe);
FreeStrBuf(&IO->HttpReq.ReplyData);
- Ctx->state = CON_IDLE;
- Ctx->kill_me = 1;
+ if (Ctx) {
+ Ctx->state = CON_IDLE;
+ Ctx->kill_me = 1;
+ }
}
IO->Terminate(IO);
}
-
eReadState HandleInbound(AsyncIO *IO)
{
const char *Err = NULL;