bigplum / nginx-tcp-lua-module

A TCP server with lua supporting based on nginx
71 stars 28 forks source link

Connections do not become active until data is received from the client. #4

Open DorianGray opened 10 years ago

DorianGray commented 10 years ago

This is interesting... I connect via telnet and my client transmits telnet commands to the server...the connection works normally. I connect via telnet and my client waits for data from the server, the data never comes.

After further testing... If the client doesn't send any data to the server, nginx never hands the connection off to lua.

This is causing problems in my implementation of SMTP, as most SMTP clients do not transmit anything until the server greets them with a 220 response code.

Thomas12 commented 10 years ago

Having exactly the same problem.