Skip to content

Commit 48e861a

Browse files
Update 6.4.4
Fixed issue with HTTP client where some agents don't support a "?from=0" in a sample stream request
1 parent d667cf2 commit 48e861a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Reflection;
22

3-
[assembly: AssemblyVersion("6.4.3")]
4-
[assembly: AssemblyFileVersion("6.4.3")]
3+
[assembly: AssemblyVersion("6.4.4")]
4+
[assembly: AssemblyFileVersion("6.4.4")]
55
[assembly: AssemblyCompany("TrakHound Inc.")]
66
[assembly: AssemblyCopyright("Copyright (c) 2024 TrakHound Inc., All Rights Reserved.")]

libraries/MTConnect.NET-HTTP/Clients/MTConnectHttpClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ private static string CreateSampleUrl(string baseUrl, string deviceKey, ulong fr
12191219
// Check for http
12201220
if (!url.StartsWith("http://") && !url.StartsWith("https://")) url = "http://" + url;
12211221

1222-
if (from >= 0) url = Url.AddQueryParameter(url, "from", from);
1222+
if (from > 0) url = Url.AddQueryParameter(url, "from", from);
12231223
if (count > 0) url = Url.AddQueryParameter(url, "count", count);
12241224
if (interval > -1) url = Url.AddQueryParameter(url, "interval", interval);
12251225
if (heartbeat > 0) url = Url.AddQueryParameter(url, "heartbeat", heartbeat);

0 commit comments

Comments
 (0)