1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2010-01-04 05:00:56 +00:00
parent e6de3e5b31
commit 9693113f21
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
2009-01-04 P. A. Bagyenda <bagyenda@dsmagic.com>
* Minor fix, throttling in MMSC VASP connections
2009-12-01 P. A. Bagyenda <bagyenda@dsmagic.com>
* Change queue location for MM1 notifications
2009-11-22 P. A. Bagyenda <bagyenda@dsmagic.com>

View File

@ -1932,7 +1932,7 @@ static void mm7proxy(void *unused)
else
mms_error_ex("auth", 0, "MM7", NULL, "MMSC: Auth failed/VASP not found in MM7 incoming connection!");
} else if (h.vasp->throughput > 0 &&
(tdur = h.vasp->stats.start_time - time(NULL)) > 0 &&
(tdur = time(NULL) - h.vasp->stats.start_time) > 0 &&
h.vasp->stats.mo_pdus/tdur > h.vasp->throughput) { /* throttling error, do not even process the message. */
List *hh = http_create_empty_headers();
http_send_reply(hx->client, 409, hh, /* respond with HTTP Conflict code. */