shibd opened a new pull request, #282:
URL: https://github.com/apache/pulsar-client-node/pull/282

   Fixes #281 
   
   ### Motivation
   
   This issue only happened on the arm64 macOS environment and when using SSL.
   
   This can be caused by static linking cross-compiled OpenSSL. 
   
   I noticed that CURL could directly configure the `--with-secure-transport` 
parameter to use Apple's SSL/TLS implementation instead of OpenSSL: 
   
   [Original 
document](https://github.com/curl/curl/blob/curl-7_85_0/docs/INSTALL.md#apple-platforms-macos-ios-tvos-watchos-and-their-simulator-counterparts):
 
   > On modern Apple operating systems, curl can be built to use Apple's 
SSL/TLS implementation, Secure Transport, instead of OpenSSL. To build with 
Secure Transport for SSL/TLS, use the configure option --with-secure-transport. 
(It is not necessary to use the option --without-openssl.)
   
   
   ### Modifications
   - Configure the `--with-secure-transport` parameter to use Apple's SSL/TLS 
implementation when build arm64 macOS.
   
   ### Verifying this change
   
   - [ ] I will add `OAuth2` related unit tests later. 
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
   
   - [x] `doc-not-needed` 
   (Please explain why)
   
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to