Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to update the high-performance cross-platform network communication framework HP-Socket 5.6.1

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Today, I would like to talk to you about how to update the high-performance cross-platform network communication framework HP-Socket 5.6.1, which may not be well understood by many people. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

V5.6.1 update

I. SSL component updates

All SSL components add the following interface methods to support loading memory certificates

1) Server:SetupSSLContextByMemory (), AddSSLContextByMemory () 2) Agent:SetupSSLContextByMemory () 3) Client:SetupSSLContextByMemory ()

All SSL components add a GetSSLSessionInfo () method to obtain information about SSL sessions.

The SSL Server component provides a default SNI server domain name binding mechanism, and in most cases applications do not have to customize the SNI callback function

1) enable the default server domain name binding mechanism when the 'fnServerNameCallback' parameter value of SetupSSLContext () is nullptr. 2) BindSSLServerName (): bind the server domain name to the specified certificate 3) HP_SSL_DefaultServerNameCallback (): default SNI callback function

II. Update of HTTP components

The SendWSMessage () method of the HTTP Server component removes the lpszMask parameter

The pData parameter type of the SendWSMessage () method of all HTTP components is changed to const BYTE*, so you can pass in constants

All HTTP components add the SendChunkData () method to easily send Chunked data

III. Update of UDP components

Optimize the UDP Cast components of the Linux platform to keep the behavior consistent with the UDP Cast components of the Windows platform

Improve the IPv6 compatibility of all UDP components

Automatically sends a "shutdown Notification" Datagram to the peer when the UDP Client/Server component shuts down

IV. Other updates

Upgrade jemalloc to version 5.2.1

Upgrade OpenSSL to version 1.1.1d

Code optimization to improve stability

HP-Socket component list

Basic component

SSL component

HTTP component

After reading the above, do you have any further understanding of how to update the high-performance cross-platform network communication framework HP-Socket 5.6.1? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report