Module connecting outside

Antonio Nappa jeppojeps at gmail.com
Wed Mar 8 19:10:25 UTC 2017


Hello everyone,

I am in the process of creating a module that connects to the outside to
exchange data with another service, I am taking as inspiration the
mail_module and the upstream module, basically my module is connecting
using the ngx_event_connect_peer and handling the read and write events
properly. I have 2 questions:

Is this the proper way to make a module connecting to the outside?
Would it be possible to use nginx primitives to connect through SSL?

Thanks a lot,
Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170308/72702bc0/attachment-0001.html>


More information about the nginx-devel mailing list