SSL connections take longer to connect and takes 100% CPU during that time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When you make a lot of SSL/TLS (don't know the right terminology for it) connections, it still takes longer time to connect than normally. I think this can't be solved easily, because it needs to transmit certificate/key during to handshake.
But what's really wrong is that CPU usage raises up to 100% during this operation. And this should be fixed.
i thought it is caused by fast looping in ConnectionManag
It can be easily reproduced when you make secure connections to all users in DCDev public (for example by "Browse file list"). While all filelists display immediately with very low CPU usage when TLS is disabled, it will take longer time with 100% CPU usage when TLS is enabled.
description: | updated |
Changed in dcplusplus: | |
status: | New → Confirmed |
Changed in dcplusplus: | |
importance: | Undecided → Medium |
tags: | added: core |
you haven't run this through a profiler, have you? it could be that creating up ephemeral keys for dhe takes some time...