[Pkg] The Trunk: Network-cmm.151.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Nov 14 21:46:04 UTC 2014


Chris Muller uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-cmm.151.mcz

==================== Summary ====================

Name: Network-cmm.151
Author: cmm
Time: 24 September 2014, 2:41:23.349 pm
UUID: 74ec9de8-3417-462b-9a74-005dfc2e2130
Ancestors: Network-nice.150

After closing and destroying a SocketStream, reset its buffers back down to 4k in case they had grown to many megabytes.

=============== Diff against Network-nice.150 ===============

Item was changed:
  ----- Method: SocketStream>>close (in category 'control') -----
  close
  	"Flush any data still not sent
  	and take care of the socket."
  
  	self flush.
+ 	socket closeAndDestroy: 30.
+ 	"Reclaim memory consumed by possibly very large buffers."
+ 	self resetBuffers!
- 	socket closeAndDestroy: 30!



More information about the Packages mailing list