mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 7.4.1483
Problem: A one-time callback is not used for a raw channel. Solution: Use a one-time callback when it exists.
This commit is contained in:
@@ -62,6 +62,9 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
|
||||
if decoded[1] == 'hello!':
|
||||
# simply send back a string
|
||||
response = "got it"
|
||||
elif decoded[1].startswith("echo "):
|
||||
# send back the argument
|
||||
response = decoded[1][5:]
|
||||
elif decoded[1] == 'make change':
|
||||
# Send two ex commands at the same time, before
|
||||
# replying to the request.
|
||||
|
Reference in New Issue
Block a user