eBay / parallec

Fast Parallel Async HTTP/SSH/TCP/UDP/Ping Client Java Library. Aggregate 100,000 APIs & send anywhere in 20 lines of code. Ping/HTTP Calls 8000 servers in 12 seconds. (Akka) www.parallec.io
Apache License 2.0
805 stars 173 forks source link

Set response for those response is empty when ParallelTask timeout #47

Closed jeffpeiyt closed 7 years ago

jeffpeiyt commented 7 years ago

When the parallel task timeouts, for those task that have not received a response, its ResponseOnSingleTask is null in the map of task.getParallelTaskResult() This may be confusing to users.

Now add logic to init a ResponseOnSingleTask for the host when it occurs.

jeffpeiyt commented 7 years ago

Added tests and working

jeffpeiyt commented 7 years ago

released in v0.10.1