ibm-messaging / mq-golang

Calling IBM MQ from Go applications
Apache License 2.0
168 stars 60 forks source link

SSL Fix for #87 #88

Closed sasbury closed 5 years ago

sasbury commented 5 years ago

Please ensure all items are complete before opening.

What

Added a double check in the connx code for a MQRC_SSL_ALREADY_INITIALIZED warning which can occur if SSL configs are matching but reused.

How

Discovered that you can't make 2 SSL connections, even if the settings are the same.

Testing

Tested manually by updating the new TLS sample to loop.

Issues

https://github.com/ibm-messaging/mq-golang/issues/87

ibmmqmet commented 5 years ago

As discussed in #88 ... it's not desirable to mask this warning