Permalink
Browse files

connection: add debug output for successful PASV socket connection

  • Loading branch information...
mscdex committed Jul 19, 2013
1 parent 6c4a260 commit 0fe9caced38e82c46cccaab92265223ad25b4f90
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/connection.js
View
@@ -797,6 +797,7 @@ FTP.prototype._pasvConnect = function(ip, port, cb) {
socket.setTimeout(0);
socket.once('connect', function() {
+ self._debug&&self._debug('[connection] PASV socket connected');
if (self.options.secure === true) {
socket = tls.connect({
socket: socket,

0 comments on commit 0fe9cac

Please sign in to comment.