297298299300301302303304305306307
try { clientSocket.close(); } catch (Exception e) { log.error("", e); } sampler.threadFinished(); // Needed for HTTPSampler2 } } /** * Get SSL connection from hashmap, creating it if necessary.
281282283284285286287288289290291
clientSocket.close(); } catch (Exception e) { log.error(port + "Failed to close client socket", e); } if(sampler != null) { sampler.threadFinished(); // Needed for HTTPSampler2 } } } /**
246247248249250251252253254255256
try { clientSocket.close(); } catch (Exception e) { log.error("", e); } sampler.threadFinished(); // Needed for HTTPSampler2 } } private SampleResult generateErrorResult(SampleResult result, Exception e) { if (result == null) {
273274275276277278279280281282283
264265266267268269270271272273274
clientSocket.close(); } catch (Exception e) { log.error("", e); } if(samplerAvailable) { sampler.threadFinished(); // Needed for HTTPSampler2 } } } /**
303304305306307308309310311312313
305306307308309310311312313314315
248249250251252253254255256257258
263264265266267268269270271272273
clientSocket.close(); } catch (Exception e) { log.error("", e); } if(sampler != null) { sampler.threadFinished(); // Needed for HTTPSampler2 } } } /**