This update is mainly for SSL, HTTP and UDP Series components are optimized and adjusted!
v5.6.1 update
A, SSL component updates
- All of the following components increased SSL load memory interface methods support certificate
1) Server:SetupSSLContextByMemory(), AddSSLContextByMemory() 2) Agent:SetupSSLContextByMemory() 3) Client:SetupSSLContextByMemory()
- All the SSL components increase GetSSLSessionInfo () method is used to obtain information about the SSL session
- SSL Server component provides the default domain name server SNI binding mechanism, in most cases applications without customizing SNI callback function
1) 当 SetupSSLContext() 的 'fnServerNameCallback' 参数值为 nullptr 则启用默认的服务器域名绑定机制 2) BindSSLServerName():绑定服务器域名到指定证书 3) HP_SSL_DefaultServerNameCallback():默认 SNI 回调函数
Two, HTTP component updates
- SendWSMessage HTTP Server component () method to delete lpszMask parameters
- Type Parameters pData SendWSMessage all HTTP component () method to const BYTE *, it is possible to pass a constant
- Add all HTTP components SendChunkData () method to easily transmit data Chunked
Three, UDP component updates
- Optimized Linux platform UDP Cast components such that they remain with the UDP Cast behavior consistent component of the Windows platform
- UDP IPv6 compatibility upgrade all components
- Automatically send "Close notification" to the data packets of the closed end of the UDP Client / Server components
Fourth, other updates
- jemalloc upgrade to version 5.2.1
- OpenSSL upgraded to version 1.1.1d
- Code optimization, improved stability
HP-Socket component list
- Basic components
- SSL components
- HTTP Components