webXMPP

Check-in [f234e62aa5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use the right ivar. For consistency, flag connection as closed (even though this shouldn't matter, the thread's going away RSN).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:f234e62aa5af84cb9773fba0ca3911133641b39c5638a393e8ded316bde0fa6e
User & Date: ajv-899-334-8894@vsta.org 2017-04-22 17:29:21
Context
2017-05-13
19:30
FCM's unreliable; need a time stamp to debug check-in: 1a74c3b5c4 user: ajv-899-334-8894@vsta.org tags: master, trunk
2017-04-22
17:29
Use the right ivar. For consistency, flag connection as closed (even though this shouldn't matter, the thread's going away RSN). check-in: f234e62aa5 user: ajv-899-334-8894@vsta.org tags: master, trunk
2017-04-21
20:15
One boo-boo in the ivar name. Workaround for an (apparent) failure to post a new network operation as a page enters focus. check-in: c78e23dae5 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to put.py.

42
43
44
45
46
47
48
49

50
51
52
53
54
55
56
		    tbd.add(tup)
		    u.pending.remove(tup)

	    # Now close their socket then let them exit()
	    for tup in tbd:
		handler = tup[3]
		sock = handler.connection
		handler.socket = None

		sys.stderr.write("Cancel %s %r\n" % (self.user, sock))
		sock.shutdown(socket.SHUT_RDWR)
		sock.close()

		# Let the thread wake up & exit
		tup[1].release()








|
>







42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
		    tbd.add(tup)
		    u.pending.remove(tup)

	    # Now close their socket then let them exit()
	    for tup in tbd:
		handler = tup[3]
		sock = handler.connection
		handler.connection = None
		handler.close_connection = 0
		sys.stderr.write("Cancel %s %r\n" % (self.user, sock))
		sock.shutdown(socket.SHUT_RDWR)
		sock.close()

		# Let the thread wake up & exit
		tup[1].release()