Commit 542bf8ba authored by Pekka Pessi's avatar Pekka Pessi

nta.c: fixed stateless request handling

darcs-hash:20061024224815-65a35-4fda7a9932baf4bc572e482cc7d2ce9b0372f4e9.gz
parent 8c980bfd
......@@ -8124,10 +8124,8 @@ int outgoing_reply(nta_outgoing_t *orq, int status, char const *phrase,
return 0;
}
if (orq->orq_stateless) {
if (outgoing_terminate(orq))
return 0;
}
if (orq->orq_stateless)
;
else if (orq->orq_queue == NULL ||
orq->orq_queue == orq->orq_agent->sa_out.resolving ||
orq->orq_queue == orq->orq_agent->sa_out.delayed)
......@@ -8178,7 +8176,7 @@ int outgoing_reply(nta_outgoing_t *orq, int status, char const *phrase,
else if (orq->orq_stateless && orq->orq_callback == outgoing_default_cb) {
/* Xyzzy */
orq->orq_status = status;
orq->orq_completed = 1;
outgoing_complete(orq);
}
else {
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment