Method: Ftpd::Session#reply
- Defined in:
- lib/ftpd/session.rb
#reply(s) ⇒ Object
124 125 126 127 128 129 130 131 |
# File 'lib/ftpd/session.rb', line 124 def reply(s) if @config.response_delay.to_i != 0 @config.log.warn "#{@config.response_delay} second delay before replying" sleep @config.response_delay end @config.log.debug s @socket.write s + "\r\n" end |