Hi Eduardo, Thanks for your reply!
2013/11/29 Eduardo Silva <[email protected]> > Hi Yoyo, > > > On Thu, Nov 28, 2013 at 6:50 PM, Yoyo Chen <[email protected]> wrote: > >> Hi all, >> >> I am searching for a embedded server which can provide both http and >> https services concurrently. >> I tried Monkey 1.3.0, built it from source, http works fine. >> I add polarssl 1.2.10, and https works fine. >> I read lots of reports, Monkey's performance is great, and the size is >> small. It meets my requirements. >> >> > great! > > >> But I don't know how to make Monkey providing http and https services >> concurrently. >> >> I have tried to define TransportLayer of monkey.conf to both polarssl and >> liana, but fail. And from source code, it seems not possible in this way. >> >> My question: >> Is it possible for Monkey HTTP to provide both services concurrently? >> > > with the current version in our Git repo the answer is No. There is a work > made by Sonny on this area but that code have not been merged yet. > > >> If possible, how? and how to define the ports? >> Or any workaround? >> Or can I launch two instances, one for http, and another for https? >> >> > there is a workaround, its not so clean but could work. Monkey uses a > directory to find the configuration files, that directory can be changed > with the -c argument. So the trick would be to do a full copy of the conf/ > directory to a new place, and in the new one change the TransportLayer of > that specific monkey.conf. > Yes, that is what I plan to do! > > that workaround tells me that we need an additional flag to modify the > path of monkey.conf file, so we could use one full configuration directory > but be able to alternate the server configuration file. I will add this to > our TO-DO list, > This TODO will be a good news for us! Thanks all of you! > > let me know your comments, > > best > > > -- > Eduardo Silva > http://edsiper.linuxchile.cl > http://monkey-project.com > -- Best Regards, 陳明正 Yoyo Chen
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
