<div dir="ltr"><p class="MsoNormal">I have just started testing latest update given by you on
master.<span></span></p>

<p class="MsoNormal">In one of my test where once client get connected I am
destroying vhost & this is resulted abort in programme.<span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">Could you please check is this issue or my test is not
correct ?<span></span></p>

<span style="font-size:11pt;font-family:Calibri,sans-serif">I have attached detailed log & test file for
reference.</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 15, 2017 at 4:56 PM, Andy Green <span dir="ltr"><<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 07/15/2017 06:10 PM, techi eth wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot for looking by yourself.<br>
<br>
I will wait for your update to test.<br>
</blockquote>
<br>
It's getting late here, so I pushed what I have on master without testing it outside of context closure.  However for context closure it has zero leaks on valgrind with lwsws (libuv) or libwebsockets-test-server.<br>
<br>
Even if it makes problems, it should be simpler to debug and work with than doing it from scratch.<br>
<br>
It's simply<br>
<br>
LWS_VISIBLE LWS_EXTERN void<br>
lws_vhost_destroy(struct lws_vhost *vh);<br>
<br>
anyway give it a try and see what happens.<br>
<br>
-Andy<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks<br>
<br>
On Sat, Jul 15, 2017 at 3:35 PM, Andy Green <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>> wrote:<br>
<br>
<br>
<br>
    On 07/15/2017 05:57 PM, techi eth wrote:<br>
<br>
        I was trying to understand lws code to create functionality for<br>
        stopping vhost from past few days. I know it will not be so easy<br>
        without knowing full overview of code flow & data structure.<br>
<br>
<br>
        I have just implemented small patch which will actually stop the<br>
        server attached to vhost based on interface However I am not<br>
        sure I am doing right way or not.I haven't tested completely<br>
        patch so it is not advice to use by anyone.<br>
<br>
<br>
        It will be helpful if you will give some hint for implementation<br>
        so that it will be easy & right direction for me to implement.<br>
<br>
        If you have any implementation done on same then please share i<br>
        will be able to test to confirm.<br>
<br>
        I have one doubt when I have created two server (One on each<br>
        network interface) why I am getting fds_count 3. (I was<br>
        expecting fds_count 2 one for each server)<br>
<br>
    There is a pipe created for each service thread, so we can interrupt<br>
    a poll() wait from another thread.  Otherwise, changes to POLLOUT<br>
    etc (ie, request for writable callback) would not be recognized by<br>
    the service thread until the next time we enter poll().<br>
<br>
    I just started on this today myself... others are asking for it on<br>
    github.<br>
<br>
    It's done but I need to figure out a way to add it to a test app so<br>
    we can know it does what it is supposed to.<br>
<br>
    I confirmed it can do the context close OK on poll() and libuv which<br>
    was my main worry.<br>
<br>
    I'll send an update later.<br>
<br>
    -Andy<br>
<br>
<br>
        Thanks<br>
<br>
<br>
        On Wed, Jul 12, 2017 at 4:09 PM, techi eth <<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>> wrote:<br>
<br>
             I confirm with test that lws will have need individual<br>
        interface<br>
             server stop/start when IP or WiFi changes on a network<br>
        interface. It<br>
             will be listening on old IP only & never come on new IP.<br>
<br>
             It will also not practical to use reload because other<br>
        interface is<br>
             working well & needs to be in listen as long as application<br>
        wants’.<br>
<br>
             I am using lws from long time & found it is very robust &<br>
        most of<br>
             the required interface is available for application use. If you<br>
             think above is practical case than check for consideration.<br>
             I have started looking lws code for required changes.<br>
<br>
             On Wed, Jul 12, 2017 at 12:54 PM, Andy Green<br>
        <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
             <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>> wrote:<br>
<br>
<br>
<br>
                 On 07/12/2017 03:14 PM, techi eth wrote:<br>
<br>
                     I can think of below use cases.<br>
<br>
                     1)On particular point application do not want<br>
        listening  on<br>
                     one of interface because it doesn’t want to allow<br>
        connection<br>
                     due to application need or security reason.<br>
<br>
<br>
                 You can just hang up on it.<br>
<br>
                     2)One network interface was completely shut down as<br>
        it is<br>
                     only required for initial configuration. Interface will<br>
                     never ever come up again.<br>
<br>
<br>
                 Then you will need to restart or 'reload' the whole server.<br>
<br>
                     3)In the case of WiFi possibly we are switching to<br>
        different<br>
                     WiFi so we will get altogether different network<br>
        IP. In this<br>
                     case we need to stop current server & try again<br>
        starting<br>
                     server once we get connected to other WiFi.<br>
<br>
<br>
                 Okay...<br>
<br>
                     4)IP got changed due to dynamic IP allocation by<br>
        router.<br>
<br>
<br>
                 Okay...<br>
<br>
                     Please correct me if it will justify the stop<br>
        server case.<br>
<br>
<br>
                 Sure.  Feel free to send me a patch implementing it.<br>
<br>
                 'reload' is quite interesting.... it's implemented in<br>
        lwsws.         Basically it drops the listen sockets on the<br>
        existing serving<br>
                 process, starts a new one with fresh listen sockets<br>
        (bound again<br>
                 to whatever), but leaves the old one server up until<br>
        there are<br>
                 no connections left.  When the last connection drops,<br>
        the old<br>
                 server instance exits.<br>
<br>
                 -Andy<br>
<br>
                     On Wed, Jul 12, 2017 at 12:26 PM, Andy Green<br>
                     <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>> wrote:<br>
<br>
<br>
<br>
                          On 07/12/2017 02:45 PM, techi eth wrote:<br>
<br>
                              Thanks for confirmation.<br>
                              I can see from test also it will be two socket<br>
                              lws_get_socket_fd(wsi) will confirm the same.<br>
                              If it will two listen socket which means two<br>
                     websocket server.<br>
                              Is their any way i can force stop once server<br>
                     listening or both<br>
                              due to application need ?<br>
<br>
<br>
                          This is the third time you ask the same thing.<br>
<br>
                          No.<br>
<br>
<br>
                          Can you explain why you think you need to stop the<br>
                     vhost listening?<br>
<br>
                          -Andy<br>
<br>
<br>
<br>
                              On Wed, Jul 12, 2017 at 11:41 AM, Andy Green<br>
                     <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>> wrote:<br>
<br>
<br>
<br>
                                   On July 12, 2017 2:05:02 PM<br>
        GMT+08:00, techi eth<br>
                              <<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>><br>
                                   <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>>><wbr>> wrote:<br>
                                   >Sorry but I am bit confuse from your<br>
        single<br>
                     socket statement.<br>
                                   ><br>
                                   >Here I have two IP address (Due to two<br>
                     different network<br>
                              interface) so<br>
                                   >I<br>
                                   >think there should be two socket<br>
        however if<br>
                     vhost concept<br>
                              is based on<br>
                                   >single socket working on port<br>
        sharing then I<br>
                     think this<br>
                              may work.<br>
<br>
                                   I think it will indeed be two listen<br>
        sockets<br>
                     then, each<br>
                              bound to one<br>
                                   ip or interface.<br>
<br>
                                   Typically vhosts are all piled on the<br>
        same<br>
                     listen socket +<br>
                              port.<br>
<br>
                                   >I am not sure how it will behave<br>
        when concurrent<br>
                              read/write happen on<br>
                                   >single socket by the multiple client<br>
        from<br>
                     multiple network<br>
                              at same<br>
                                   >time.<br>
<br>
                                   There is no problem with it.  By<br>
        default lws<br>
                     binds to all<br>
                              interfaces<br>
                                   at the port (with one socket), this<br>
        appears as<br>
                     0.0.0.0 listen<br>
                                   address in netstat.  So it is easy to<br>
        confirm.<br>
<br>
                                   ><br>
                                   >If network connection go down (I have<br>
                     rejected connection<br>
                              & callback<br>
                                   >closed<br>
                                   >) & up again shall i need to create<br>
        vhost again ?<br>
<br>
                                   No.<br>
<br>
                                   -Andy<br>
<br>
                                    ><br>
                                    >Thanks<br>
                                    ><br>
                                    >On Tue, Jul 11, 2017 at 4:48 PM,<br>
        Andy Green<br>
                              <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>> wrote:<br>
                                    ><br>
                                    >><br>
                                    >><br>
                                    >> On 07/11/2017 07:05 PM, techi eth<br>
        wrote:<br>
                                    >><br>
                                    >>> Thanks for your input.<br>
                                    >>><br>
                                    >>> On rejecting connection in<br>
        callback will<br>
                     cleanup all the<br>
                                   resources &<br>
                                    >>> close listening socket ?<br>
                                    >>><br>
                                    >><br>
                                    >> No.  It will close the connection.<br>
                                    >><br>
                                    >> If you want to add the capability to<br>
                     dynamically remove<br>
                              vhosts, by<br>
                                    >all<br>
                                    >> means, send me a patch.<br>
                                    >><br>
                                    >> Is there any function available<br>
        in lws  like<br>
                                    >_/context/_destroy(),which<br>
                                    >>> will call from application to do<br>
        the job ?<br>
                                    >>><br>
                                    >><br>
                                    >> You seem a bit confused about<br>
        this listen<br>
                     socket business.<br>
                                    >><br>
                                    >> If both vhosts listen on :443,<br>
        there is<br>
                     only ONE listen<br>
                              socket open<br>
                                    >on<br>
                                    >> :443.  If both vhosts opened<br>
        their own<br>
                     listen socket,<br>
                              how would the<br>
                                    >tcp<br>
                                    >> layer know which vhost socket<br>
        should get the<br>
                              connection?  It would<br>
                                    >have to<br>
                                    >> decide before we could fetch<br>
        headers or<br>
                     whatever.  It<br>
                              couldn't work.<br>
                                    >><br>
                                    >> If you close the single shared listen<br>
                     socket, no vhost<br>
                              can receive<br>
                                    >> anything.<br>
                                    >><br>
                                    >> When the secure connection comes,<br>
        it uses<br>
                     a TLS trick<br>
                              called SNI to<br>
                                    >get<br>
                                    >> the hostname the client was using to<br>
                     connect before the<br>
                              secure<br>
                                   tunnel<br>
                                    >is<br>
                                    >> set up.  From that, it decides<br>
        which vhost<br>
                     he was<br>
                              trying to connect<br>
                                    >to,<br>
                                    >> sets up the TLS tunnel using the<br>
        correct<br>
                     vhost's<br>
                              certificates, and<br>
                                    >binds<br>
                                    >> the connection to the right vhost.<br>
                                    >><br>
                                    >> If you want one of the vhosts to<br>
        start<br>
                     rejecting<br>
                              connections,<br>
                                   you can<br>
                                    >use<br>
                                    >> lws_get_vhost(wsi) once the wsi<br>
        has bound to a<br>
                              particular vhost and<br>
                                    >act<br>
                                    >> differently if it is the 'down'<br>
        vhost the<br>
                     wsi is bound to.<br>
                                    >><br>
                                    >> -Andy<br>
                                    >><br>
                                    >> On Tue, Jul 11, 2017 at 3:02 PM,<br>
        Andy Green<br>
                              <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>><br>
                                    ><mailto:<br>
                                    >>> <a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>>> wrote:<br>
                                    >>><br>
                                    >>><br>
                                    >>><br>
                                    >>>     On 07/11/2017 05:25 PM,<br>
        techi eth wrote:<br>
                                    >>><br>
                                    >>>         Hi,<br>
                                    >>><br>
                                    >>>         Now i am able to run<br>
        both the SSL<br>
                     server.<br>
                              Thanks for input.<br>
                                    >>>         Could you please check<br>
        attached<br>
                     file & let me<br>
                              know i am<br>
                                    >right in<br>
                                    >>>         using libwebsocket.<br>
                                    >>><br>
                                    >>><br>
                                    >>>     I don't have time to look at<br>
        users'<br>
                     code.  Unless<br>
                              I feel I owe<br>
                                    >them<br>
                                    >>>     for contributions, mowing my<br>
        lawn or<br>
                     whatever.<br>
                                    >>><br>
                                    >>>         I would just like to<br>
        know how to<br>
                     stop one<br>
                              server listening<br>
                                    >on<br>
                                    >>> vhost.<br>
                                    >>><br>
                                    >>><br>
                                    >>>     I assume you want to do it<br>
                     dynamically... the<br>
                              closest you<br>
                                   can do<br>
                                    >>>     easily is reject the<br>
        connection in an<br>
                     early callback.<br>
                                    >>><br>
                                    >>>     If you handle the http<br>
        callback, you<br>
                     can also have<br>
                              it decide to<br>
                                    >>>     respond with a redirect or a<br>
        500 page<br>
                     or whatever.<br>
                                    >>><br>
                                    >>>     -Andy<br>
                                    >>><br>
                                    >>>         Thanks<br>
                                    >>><br>
                                    >>>         On Mon, Jul 10, 2017 at<br>
        3:27 PM,<br>
                     techi eth<br>
                                    ><<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>><br>
                              <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>>><br>
                                    >>>                 <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>><br>
                              <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>><br>
                              <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>>><wbr>><br>
                                   <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>><br>
                              <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>>><br>
                                    >>>                 <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>><br>
                              <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>><br>
                                   <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>> <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>><br>
                     <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a><br>
        <mailto:<a href="mailto:techieth@gmail.com" target="_blank">techieth@gmail.com</a>>>>><wbr>>>><br>
                              wrote:<br>
                                    >>><br>
                                    >>>              I have tried test as<br>
                     suggested by you now<br>
                              I don’t see<br>
                                    >>> segfault<br>
                                    >>>              anymore however I<br>
        am not<br>
                     able to connect<br>
                              over server.<br>
                                    >>><br>
                                    >>>              Could you please check<br>
                     attached test code &<br>
                                   detaild lws<br>
                                    >log<br>
                                    >>>         & give<br>
                                    >>>              me hint what is<br>
        wrong in code.<br>
                                    >>><br>
                                    >>>              Thanks for your input.<br>
                                    >>><br>
                                    >>>              On Sat, Jul 8, 2017<br>
        at 4:28<br>
                     PM, Andy Green<br>
                                    >>>         <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>><br>
                                    >>>                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>>><wbr>><br>
                                    >wrote:<br>
                                    >>><br>
                                    >>><br>
                                    >>><br>
                                    >>>                  On 07/08/2017<br>
        06:51 PM,<br>
                     techi eth wrote:<br>
                                    >>><br>
                                    >>>                      Thanks for<br>
        your input.<br>
                                    >>>                      Having two<br>
        context<br>
                     is not right<br>
                              or technically<br>
                                    >>>         complex ?<br>
                                    >>><br>
                                    >>>                      I was<br>
        running two<br>
                     server without<br>
                              SSL mode from<br>
                                    >past<br>
                                    >>>         1 month<br>
                                    >>>                      & it is<br>
        working fine<br>
                     with two<br>
                              context.<br>
                                    >>><br>
                                    >>><br>
                                    >>>                  Well... if you<br>
        want two<br>
                     contexts you<br>
                              better fix<br>
                                    >your<br>
                                    >>>         segfault.         You're<br>
        always<br>
                     free to do<br>
                              what you prefer<br>
                                    >(and<br>
                                    >>>         I am free to<br>
                                    >>>                  ignore your<br>
        problems<br>
                     with it).<br>
                                    >>><br>
                                    >>>                  From:<br>
                                    >>><br>
                                    >>>                    - the POV SNI<br>
        won't<br>
                     work sharing<br>
                              port 443,<br>
                                    >because<br>
                                    >>>         the two<br>
                                    >>>                  vhosts you<br>
        created by<br>
                     having two<br>
                              contexts don't<br>
                                    >know<br>
                                    >>>         about each<br>
                                    >>>                  other<br>
                                    >>><br>
                                    >>>                    - the POV you<br>
        only<br>
                     have one set of<br>
                              fds in your<br>
                                    >>>         process, the<br>
                                    >>>                  context holds a<br>
        lookup<br>
                     table for all<br>
                              of them<br>
                                    >>><br>
                                    >>>                    - the POV you<br>
        only<br>
                     need to service<br>
                              (ie, wait in<br>
                                    >poll<br>
                                    >>>         or epoll)<br>
                                    >>>                  for one set of<br>
        fds, not<br>
                     have an idle<br>
                              context<br>
                                    >increase<br>
                                    >>> your<br>
                                    >>>                  service latency on<br>
                     handling service<br>
                              for an active<br>
                                    >>>         context every time<br>
                                    >>><br>
                                    >>>                  ...you should<br>
        have one<br>
                     context and<br>
                              two vhosts.<br>
                                    >>><br>
                                    >>>                  That's<br>
        literally what<br>
                     the vhosts are<br>
                              for.  It's<br>
                                    >easy to<br>
                                    >>>         do, and<br>
                                    >>>                  from lws<br>
        perspective<br>
                     "the right thing".<br>
                                    >>><br>
                                    >>>                  -Andy<br>
                                    >>><br>
                                    >>>                      On Sat, Jul<br>
        8, 2017<br>
                     at 3:59 PM,<br>
                              Andy Green<br>
                                    >>>         <<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>><br>
                                    >>>                                         <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>><br>
                                    ><mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>>><br>
                                    >>>         <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>><br>
                                    >>>                                         <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                                   <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>><br>
                                    >>>         <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a> <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>><br>
                              <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>><br>
                     <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a><br>
        <mailto:<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>>>>>>><wbr>>><br>
                                   wrote:<br>
                                    >>><br>
                                    >>><br>
                                    >>><br>
                                    >>>                           On<br>
        07/08/2017<br>
                     06:12 PM,<br>
                              techi eth wrote:<br>
                                    >>><br>
                                    >>>                               It<br>
        is with two<br>
                              context.One context<br>
                                    >each<br>
                                    >>>         for one<br>
                                    >>>                      network<br>
        interface.<br>
                                    >>><br>
                                    >>><br>
                                    >>>                           I can<br>
        suggest<br>
                     you don't do that.<br>
                                    >>><br>
                                    >>>                           Let's<br>
        leave<br>
                     aside how I am<br>
                              supposed to<br>
                                    >guess<br>
                                    >>>         what you<br>
                                    >>>                      have done to<br>
                                    >>>                                   service both.<br>
                                    >>><br>
                                    >>>                           The<br>
        network<br>
                     interface to<br>
                              bind to is an<br>
                                    >>>         attribute of the<br>
                                    >>>                      vhost, not<br>
                                    >>>                           the<br>
        context.<br>
                                    >>><br>
                                    >>>                           By<br>
        default, for<br>
                              compatibility lws creates<br>
                                    >you<br>
                                    >>>         one vhost<br>
                                    >>>                      called<br>
                                    >>>                                   "default" when</blockquote>
</blockquote></div><br></div>