Pre-load the default system TLS database 95/73395/1
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 8 Jun 2016 04:29:52 +0000 (13:29 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 8 Jun 2016 04:43:02 +0000 (13:43 +0900)
commit381a0e3b62a8d63cc5a1cb5c9c3723e3c785bc19
tree2871802e8db474fd04b8b6f6ba2042a391ebb985
parent29c36a44017329eb1eca3727aee7cbbbd1184b60
Pre-load the default system TLS database

[Problem] For the first time to load https websites, axtra time(300ms) is consumed
[Cause] When refer to the TLS database set by upstream, 'set_tlsdb' will check
whether the default system database is used. Because the default system TLS db
is singleton and not created once, so in 'set_tlsdb', it consume the axtra time
[Solution] Pre-load the default system database togther with the used TLS database

Change-Id: I2e13156570d3d468c36664e439721b1a8ceae41d
Signed-off-by: qi1988.yang <qi1988.yang@samsung.com>
libsoup/soup-session.c