- 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 MAXQTRIES 100
|
||||||
#define BACKOFF_FACTOR 5*60 /* In seconds */
|
#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 */
|
#define DEFAULT_EXPIRE 3600*24*7 /* One week */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -456,6 +456,8 @@ void mmsc_receive_func(MmscGrp *m)
|
||||||
http_send_reply(h.client, HTTP_UNAUTHORIZED, hh,
|
http_send_reply(h.client, HTTP_UNAUTHORIZED, hh,
|
||||||
octstr_imm(""));
|
octstr_imm(""));
|
||||||
http_destroy_headers(hh);
|
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)
|
} else if (m->type == SOAP_MMSC)
|
||||||
mm7soap_receive(&h);
|
mm7soap_receive(&h);
|
||||||
else
|
else
|
||||||
|
@ -474,7 +476,7 @@ static void free_clientInfo(MmsHTTPClientInfo *h, int freeh)
|
||||||
|
|
||||||
debug("free info", 0,
|
debug("free info", 0,
|
||||||
" entered free_clientinfo %d, ip=%d", freeh, (int)h->ip);
|
" entered free_clientinfo %d, ip=%d", freeh, (int)h->ip);
|
||||||
|
|
||||||
if (h->ip)
|
if (h->ip)
|
||||||
octstr_destroy(h->ip);
|
octstr_destroy(h->ip);
|
||||||
|
|
||||||
|
|
|
@ -1945,6 +1945,7 @@ static void mm7proxy(void *unused)
|
||||||
octstr_imm(""));
|
octstr_imm(""));
|
||||||
http_destroy_headers(hh);
|
http_destroy_headers(hh);
|
||||||
free_clientInfo(hx, 1);
|
free_clientInfo(hx, 1);
|
||||||
|
info(0, "MMSC: Auth failed/VASP not found in MM7 incoming connection!");
|
||||||
} else if (h.vasp->type == SOAP_VASP)
|
} else if (h.vasp->type == SOAP_VASP)
|
||||||
gwthread_create((gwthread_func_t *)mm7soap_dispatch, hx);
|
gwthread_create((gwthread_func_t *)mm7soap_dispatch, hx);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue