You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eventm...@googlegroups.com
Hi Stepan,
On Mon, Oct 29, 2012 at 9:32 PM, Stepan Shilin <sos...@gmail.com> wrote:
I encountered a problem using EM::start_tls method at a server side. It passes, but after calling it, connection doesn't seem to be active and it doesn't respond to receive_data or any other events and it can't send_data. How can I fix it?
If you post a piece of code that demonstrates the issue you are having, it will be easier to see what's wrong.
Cheers,
Phil
Stepan Shilin
unread,
Oct 30, 2012, 3:27:03 PM10/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eventm...@googlegroups.com
вторник, 30 октября 2012 г., 23:13:08 UTC+6 пользователь Phil Whelan написал:
Simply it looks like this
def receive_data data
case
if data =~ /AUTH TLS/i
start_tls
send_data "234\n"
else
send_response "550\n"
end
end
It works perfectly with EM-client, but with normal ftp-client like filezilla or lftp it just hangs on and loggers doesn't show any trace of TLS negotiation.
Stepan Shilin
unread,
Oct 30, 2012, 4:35:09 PM10/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eventm...@googlegroups.com
среда, 31 октября 2012 г., 1:27:03 UTC+6 пользователь Stepan Shilin написал:
Sorry, Isolved it. This issue doesn't even related to eventmachine - it's just an improper implementation of ftp AUTH command.