From 127f72b4e16b65f08aef6f36e2516048582c9469 Mon Sep 17 00:00:00 2001 From: Matthew Erbs Date: Sat, 28 Jan 2017 12:18:26 +1000 Subject: [PATCH 1/3] Version bump to 2.1.3 [Skip CI] --- sample/project.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/project.json b/sample/project.json index 481a4b9..444bc25 100755 --- a/sample/project.json +++ b/sample/project.json @@ -1,5 +1,5 @@ { - "version": "2.1.2", + "version": "2.1.3", "buildOptions": { "emitEntryPoint": true }, From 7ccc3a59dc7ffaf485e3f2f4348753276cbb23bd Mon Sep 17 00:00:00 2001 From: Matthew Erbs Date: Sat, 28 Jan 2017 12:18:36 +1000 Subject: [PATCH 2/3] Version bump to 2.1.3 [Skip CI] --- src/Serilog.Sinks.Splunk/project.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Serilog.Sinks.Splunk/project.json b/src/Serilog.Sinks.Splunk/project.json index 20b537c..e178e33 100644 --- a/src/Serilog.Sinks.Splunk/project.json +++ b/src/Serilog.Sinks.Splunk/project.json @@ -1,5 +1,5 @@ { - "version": "2.1.2-*", + "version": "2.1.3-*", "description": "The Splunk Sink for Serilog", "authors": [ "Matthew Erbs, Serilog Contributors" From c81a9b01734c934ae875269c6bf89c291ae35254 Mon Sep 17 00:00:00 2001 From: Diego Frata Date: Fri, 3 Mar 2017 11:21:22 +0000 Subject: [PATCH 3/3] Fix deadlock when calling Dispose from the UI thread. --- src/Serilog.Sinks.Splunk/Sinks/Splunk/EventCollectorSink.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Serilog.Sinks.Splunk/Sinks/Splunk/EventCollectorSink.cs b/src/Serilog.Sinks.Splunk/Sinks/Splunk/EventCollectorSink.cs index 0bad503..43ebffb 100644 --- a/src/Serilog.Sinks.Splunk/Sinks/Splunk/EventCollectorSink.cs +++ b/src/Serilog.Sinks.Splunk/Sinks/Splunk/EventCollectorSink.cs @@ -205,7 +205,7 @@ private async Task Send(IEnumerable events) } var request = new EventCollectorRequest(_splunkHost, allEvents.ToString(), _uriPath); - var response = await _httpClient.SendAsync(request); + var response = await _httpClient.SendAsync(request).ConfigureAwait(false); if (response.IsSuccessStatusCode) {