High-performance network communication frame HP-Socket v5.6.1

This update is mainly for SSL, HTTP and UDP Series components are optimized and adjusted!

v5.6.1 update

A, SSL component updates

  1. All of the following components increased SSL load memory interface methods support certificate
    1) Server:SetupSSLContextByMemory(), AddSSLContextByMemory()
    2) Agent:SetupSSLContextByMemory()
    3) Client:SetupSSLContextByMemory()
  2. All the SSL components increase GetSSLSessionInfo () method is used to obtain information about the SSL session
  3. 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

  1. SendWSMessage HTTP Server component () method to delete lpszMask parameters
  2. Type Parameters pData SendWSMessage all HTTP component () method to const BYTE *, it is possible to pass a constant
  3. Add all HTTP components SendChunkData () method to easily transmit data Chunked

Three, UDP component updates

  1. Optimized Linux platform UDP Cast components such that they remain with the UDP Cast behavior consistent component of the Windows platform
  2. UDP IPv6 compatibility upgrade all components
  3. Automatically send "Close notification" to the data packets of the closed end of the UDP Client / Server components

Fourth, other updates

  1. jemalloc upgrade to version 5.2.1
  2. OpenSSL upgraded to version 1.1.1d
  3. Code optimization, improved stability

HP-Socket component list

  1. Basic components
  2. SSL components
  3. HTTP Components

Guess you like

Origin www.oschina.net/news/110074/hp-socket-5-6-1-released