diff options
| author | luwenpeng <[email protected]> | 2022-05-12 12:03:18 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2022-05-12 13:48:55 +0800 |
| commit | e0126b7d326e32b1e03d1d0a016caf99490d4c82 (patch) | |
| tree | 1f3dc58f4776aeaf337b3ed452dd51f0cb925609 | |
| parent | 4c3d929d73bce8bc93d91e39fa6a2e655f1bb859 (diff) | |
bugfix: 重置Server Cache的时间窗口
| -rw-r--r-- | platform/src/ssl_service_cache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/src/ssl_service_cache.cpp b/platform/src/ssl_service_cache.cpp index b005ccd..970edd7 100644 --- a/platform/src/ssl_service_cache.cpp +++ b/platform/src/ssl_service_cache.cpp @@ -331,6 +331,7 @@ static long cli_st_write_cb(void * data, const uchar * key, uint size, void * us { if(cli_st->suspect_pinning_count<cache->fail_as_cli_pinning_count) cli_st->suspect_pinning_count=0; if(cli_st->protocol_error_count<cache->fail_as_proto_err_count) cli_st->protocol_error_count=0; + cli_st->last_update_time = now; } if(status->cli_pinning_status!=PINNING_ST_NOT_PINNING && cli_st->suspect_pinning_count<cache->fail_as_cli_pinning_count) { |
