Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
518fe525
Commit
518fe525
authored
May 09, 2002
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector 386: workaround for hanging FTP connections with NcFTP
parent
9945cdf2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
ZServer/medusa/ftp_server.py
ZServer/medusa/ftp_server.py
+3
-3
doc/CHANGES.txt
doc/CHANGES.txt
+4
-0
lib/python/ZServer/medusa/ftp_server.py
lib/python/ZServer/medusa/ftp_server.py
+3
-3
No files found.
ZServer/medusa/ftp_server.py
View file @
518fe525
...
...
@@ -5,7 +5,7 @@
# All Rights Reserved.
#
RCS_ID
=
'$Id: ftp_server.py,v 1.2
0 2002/04/08 17:03:57 shane
Exp $'
RCS_ID
=
'$Id: ftp_server.py,v 1.2
1 2002/05/09 16:58:38 andreasjung
Exp $'
# An extensible, configurable, asynchronous FTP server.
#
...
...
@@ -683,9 +683,9 @@ class ftp_channel (asynchat.async_chat):
if
help_lines
:
self
.
push
(
'214-The following commands are recognized
\
r
\
n
'
)
self
.
push_with_producer
(
producers
.
lines_producer
(
help_lines
))
self
.
push
(
'214
\
r
\
n
'
)
self
.
push
(
'214
\
r
\
n
'
)
else
:
self
.
push
(
'214-
\
r
\
n
\
t
Help Unavailable
\
r
\
n
214
\
r
\
n
'
)
self
.
push
(
'214-
\
r
\
n
\
t
Help Unavailable
\
r
\
n
214
\
r
\
n
'
)
class
ftp_server
(
asyncore
.
dispatcher
):
# override this to spawn a different FTP channel class.
...
...
doc/CHANGES.txt
View file @
518fe525
...
...
@@ -223,6 +223,10 @@ Zope Changes
- Collector #348: decapitate() now recognizes both \r\n and \n\n
to be compliant with the HTTP RFC
- Collector 386: workaround for hanging FTP connections
with NcFTP
Zope 2.5.1 beta 1
Bugs Fixed
...
...
lib/python/ZServer/medusa/ftp_server.py
View file @
518fe525
...
...
@@ -5,7 +5,7 @@
# All Rights Reserved.
#
RCS_ID
=
'$Id: ftp_server.py,v 1.2
0 2002/04/08 17:03:57 shane
Exp $'
RCS_ID
=
'$Id: ftp_server.py,v 1.2
1 2002/05/09 16:58:38 andreasjung
Exp $'
# An extensible, configurable, asynchronous FTP server.
#
...
...
@@ -683,9 +683,9 @@ class ftp_channel (asynchat.async_chat):
if
help_lines
:
self
.
push
(
'214-The following commands are recognized
\
r
\
n
'
)
self
.
push_with_producer
(
producers
.
lines_producer
(
help_lines
))
self
.
push
(
'214
\
r
\
n
'
)
self
.
push
(
'214
\
r
\
n
'
)
else
:
self
.
push
(
'214-
\
r
\
n
\
t
Help Unavailable
\
r
\
n
214
\
r
\
n
'
)
self
.
push
(
'214-
\
r
\
n
\
t
Help Unavailable
\
r
\
n
214
\
r
\
n
'
)
class
ftp_server
(
asyncore
.
dispatcher
):
# override this to spawn a different FTP channel class.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment