Write a module to support other protocol that http

Jh 191919 at gmail.com
Sun Jun 6 20:36:47 MSD 2010


Igor please answer ;)

Is it possible for 3rd-party modules to have special permissions like  
the internal mail module? Or I have to hack the mail module to adapt  
to my own protocol?

Thanks.

Regards,
jh [from my iPhone]

在 2010-6-6,23:25,Boris Dolgov <boris at dolgov.name> 写到:

> Yes, it is possible too.
> Take a look at nginx mail module.
>
> On Sun, Jun 6, 2010 at 6:47 PM, 191919 <191919 at gmail.com> wrote:
>> Thanks for the reply.
>>
>> Perhaps my description is misleading. What I want is to make nginx
>> *NOT TO BE AN HTTPD*. I want to take advantage of nginx's I/O module
>> and make it act as a custom protocol server, for example, a sqlite
>> server.
>>
>> 2010/6/6 Peter Leonov <gojpeg at gmail.com>:
>>> Hi Jh,
>>>
>>> On 06.06.2010, at 14:31, Jh <191919 at gmail.com> wrote:
>>>
>>>> Is it possible to write a module to support other protocols that  
>>>> http?
>>>
>>> Yes, of course ;)
>>>
>>> Please, take a look at standard modules memcache and fastcgi. Also  
>>> memc
>>> module (by agentzh) may be of help.
>>>
>>>> I want to take advantage of nginx's architecture.
>>>>
>>>> Regards,
>>>> jh [from my iPhone]
>>>
>>> _______________________________________________
>>> nginx-devel mailing list
>>> nginx-devel at nginx.org
>>> http://nginx.org/mailman/listinfo/nginx-devel
>>>
>>
>> _______________________________________________
>> nginx-devel mailing list
>> nginx-devel at nginx.org
>> http://nginx.org/mailman/listinfo/nginx-devel
>>
>
>
>
> -- 
> Boris Dolgov.
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://nginx.org/mailman/listinfo/nginx-devel



More information about the nginx-devel mailing list