Administrator
|
Sven Van Caekenberghe-2 wrote
Thanks to Sven for all these improvements (per http://code.google.com/p/pharo/issues/detail?id=6697#c5):
These are the differences since the last time Zn was integrated (on the main package):
Zinc-HTTP-SvenVanCaekenberghe.304 (18 September 2012, 1:51:37 am)
Added option ZnServer class>>#alwaysRestart: to fine tune the shutDown/startUp behavior, defaults to previous behavior
Zinc-HTTP-SvenVanCaekenberghe.303 (18 September 2012, 10:03:40 am)
Refactored ZnNetworkingUtils>>#socketStreamToUrlDirectly: to honor/use the correct timeout both when doing a DNS lookup as well as during connect by using NetNameResolver directly as well as using #openConnectionToHost:port:timeout
Zinc-HTTP-SvenVanCaekenberghe.302 (17 September 2012, 4:08:37 am)
Added HTTPProgress signalling to ZnByteArrayEntity, ZnStringEntity as well as ZnUtils class>>#readUpToEnd:limit:
Refactored streaming and HTTPProgress signalling in ZnUtils by addition of ZnUtils class>>#[streamingBufferSize|signalProgress:total:]
Zinc-HTTP-SvenVanCaekenberghe.301 (17 September 2012, 10:10:49 am)
Fixed a bug where HTTPProgress notifications would trigger a retry.
Thanks Camillo Bruni for finding this problem and suggesting a solution.
Now, retries are only triggered by (NetworkError, ZnParseError), while the #ifFailBlock will be trigger on any Error.
Furthermore, #noteRetrying: and noteIgnoringExceptionOnReusedConnection: will report on the actual exception.
The default #ifFailBlock is now [ :exception | exception pass ] for some cleaner code.
Zinc-HTTP-SvenVanCaekenberghe.300 (5 September 2012, 1:59:02 am)
removal of all classes in Zinc-HTTP-Deprecated
- ZnClientOld
- ZnFixedClient
- ZnExtendedFixedClient
- ZnUserAgent
- ZnHttpClient
- ZnUserAgentSettings
as well as all their unit test classes
Zinc-HTTP-SvenVanCaekenberghe.299 (5 September 2012, 1:21:19 am)
changed maximumEntitySize concept from a normal class variable on ZnConstants to a dynamic/process-specific variable ZnMaximumEntitySize;
added the option #maximumEntitySize to ZnServer
Zinc-HTTP-SvenVanCaekenberghe.298 (5 September 2012, 11:24:50 am)
introduction of options in ZnServer;
refactored port, bindingAddress, delegate, authenticator and reader as options
Zinc-HTTP-SvenVanCaekenberghe.297 (27 August 2012, 9:41:58 am)
#includesSubString: becomes #includesSubstring:
Zinc-HTTP-SvenVanCaekenberghe.296 (22 August 2012, 3:00:39 am)
added [ZnDefaultServerDelegate|ZnMonticelloServerDelegate]>>#value:
Zinc-HTTP-SvenVanCaekenberghe.295 (22 August 2012, 11:15:01 am)
fixed type (wws should be wss);
patched ZnNetworkingUtils>>#socketStreamToUrlDirectly: to treat wss as needing a #connect
Zinc-HTTP-SvenVanCaekenberghe.294 (21 August 2012, 1:29:19 am)
extended ZnMultithreadedServer>>#executeRequestResponseLoopOn: with two new features related to the response objects generated by delegates:
- the response object now also can answer whether or not it #wantsConnectionClose
- after a response is written (flushed and logged), the response objects gets a chance to continue using the connection in the current thread/process for its own custom purposes through #useConnection:
Zinc-HTTP-SvenVanCaekenberghe.293 (20 August 2012, 2:10:54 am)
changed ZnSingleThreadedServer>>#serveConnectionOn: to no longer fork a worker thread/process as this is against the key idea of the class (this in not really active code, so this cleanup in more theoretical)
Cheers,
Sean
|