diff options
Diffstat (limited to 'pjlib/src/pjlib-test/sock_perf.c')
-rw-r--r-- | pjlib/src/pjlib-test/sock_perf.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pjlib/src/pjlib-test/sock_perf.c b/pjlib/src/pjlib-test/sock_perf.c index 1fa12082..a5420af7 100644 --- a/pjlib/src/pjlib-test/sock_perf.c +++ b/pjlib/src/pjlib-test/sock_perf.c @@ -158,11 +158,17 @@ int sock_perf_test(void) PJ_LOG(3,("", "...benchmarking socket " "(2 sockets, packet=512, single threaded):")); - + + /* Disable this test on Symbian since UDP connect()/send() failed + * with S60 3rd edition (including MR2). + * See http://www.pjsip.org/trac/ticket/264 + */ +#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 /* Benchmarking UDP */ rc = sock_producer_consumer(PJ_SOCK_DGRAM, 512, LOOP, &bandwidth); if (rc != 0) return rc; PJ_LOG(3,("", "....bandwidth UDP = %d KB/s", bandwidth)); +#endif /* Benchmarking TCP */ rc = sock_producer_consumer(PJ_SOCK_STREAM, 512, LOOP, &bandwidth); |