- Minor improvements to logging of failed MM7 connections
- Reduced default queue run interval
This commit is contained in:
parent
ddcd63dfa2
commit
aa1708af9a
|
@ -149,6 +149,6 @@ void escape_shell_chars(Octstr *str);
|
|||
|
||||
#define MAXQTRIES 100
|
||||
#define BACKOFF_FACTOR 5*60 /* In seconds */
|
||||
#define QUEUERUN_INTERVAL 15*60 /* 15 minutes. */
|
||||
#define QUEUERUN_INTERVAL 1*60 /* 1 minutes. */
|
||||
#define DEFAULT_EXPIRE 3600*24*7 /* One week */
|
||||
#endif
|
||||
|
|
|
@ -456,6 +456,8 @@ void mmsc_receive_func(MmscGrp *m)
|
|||
http_send_reply(h.client, HTTP_UNAUTHORIZED, hh,
|
||||
octstr_imm(""));
|
||||
http_destroy_headers(hh);
|
||||
info(0, "MMSBox: Auth failed, incoming connection, MMC group=%s",
|
||||
m->id ? octstr_get_cstr(m->id) : "(none)");
|
||||
} else if (m->type == SOAP_MMSC)
|
||||
mm7soap_receive(&h);
|
||||
else
|
||||
|
|
|
@ -1945,6 +1945,7 @@ static void mm7proxy(void *unused)
|
|||
octstr_imm(""));
|
||||
http_destroy_headers(hh);
|
||||
free_clientInfo(hx, 1);
|
||||
info(0, "MMSC: Auth failed/VASP not found in MM7 incoming connection!");
|
||||
} else if (h.vasp->type == SOAP_VASP)
|
||||
gwthread_create((gwthread_func_t *)mm7soap_dispatch, hx);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue