mirror of https://github.com/dahall/Vanara.git
Fixed bugs in HTTP_DATA_CHUNK
parent
cf6b72ddf6
commit
ed3f5d8a69
|
@ -339,19 +339,19 @@ public static partial class HttpApi
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
private UNION union;
|
private UNION union;
|
||||||
|
|
||||||
public ref FROMMEMORY FromMemory => ref union.FromMemory;
|
public FROMMEMORY FromMemory { get => union.FromMemory; set => union.FromMemory = value; }
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
public ref FROMFILEHANDLE FromFileHandle => ref union.FromFileHandle;
|
public FROMFILEHANDLE FromFileHandle { get => union.FromFileHandle; set => union.FromFileHandle = value; }
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
public ref FROMFRAGMENTCACHE FromFragmentCache => ref union.FromFragmentCache;
|
public FROMFRAGMENTCACHE FromFragmentCache { get => union.FromFragmentCache; set => union.FromFragmentCache = value; }
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
public ref FROMFRAGMENTCACHEEX FromFragmentCacheEx => ref union.FromFragmentCacheEx;
|
public FROMFRAGMENTCACHEEX FromFragmentCacheEx { get => union.FromFragmentCacheEx; set => union.FromFragmentCacheEx = value; }
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
public ref TRAILERS Trailers => ref union.Trailers;
|
public TRAILERS Trailers { get => union.Trailers; set => union.Trailers = value; }
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
[StructLayout(LayoutKind.Explicit)]
|
[StructLayout(LayoutKind.Explicit)]
|
||||||
|
@ -359,38 +359,23 @@ public static partial class HttpApi
|
||||||
{
|
{
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
[FieldOffset(0)]
|
[FieldOffset(0)]
|
||||||
private FROMMEMORY _FromMemory;
|
public FROMMEMORY FromMemory;
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
[FieldOffset(0)]
|
[FieldOffset(0)]
|
||||||
private FROMFILEHANDLE _FromFileHandle;
|
public FROMFILEHANDLE FromFileHandle;
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
[FieldOffset(0)]
|
[FieldOffset(0)]
|
||||||
private FROMFRAGMENTCACHE _FromFragmentCache;
|
public FROMFRAGMENTCACHE FromFragmentCache;
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
[FieldOffset(0)]
|
[FieldOffset(0)]
|
||||||
private FROMFRAGMENTCACHEEX _FromFragmentCacheEx;
|
public FROMFRAGMENTCACHEEX FromFragmentCacheEx;
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
[FieldOffset(0)]
|
[FieldOffset(0)]
|
||||||
private TRAILERS _Trailers;
|
public TRAILERS Trailers;
|
||||||
|
|
||||||
/// <summary/>
|
|
||||||
public ref FROMMEMORY FromMemory => ref _FromMemory;
|
|
||||||
|
|
||||||
/// <summary/>
|
|
||||||
public ref FROMFILEHANDLE FromFileHandle => ref _FromFileHandle;
|
|
||||||
|
|
||||||
/// <summary/>
|
|
||||||
public ref FROMFRAGMENTCACHE FromFragmentCache => ref _FromFragmentCache;
|
|
||||||
|
|
||||||
/// <summary/>
|
|
||||||
public ref FROMFRAGMENTCACHEEX FromFragmentCacheEx => ref _FromFragmentCacheEx;
|
|
||||||
|
|
||||||
/// <summary/>
|
|
||||||
public ref TRAILERS Trailers => ref _Trailers;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary/>
|
/// <summary/>
|
||||||
|
|
|
@ -4,15 +4,15 @@ global using System.Runtime.InteropServices;
|
||||||
global using Vanara.Extensions;
|
global using Vanara.Extensions;
|
||||||
global using Vanara.InteropServices;
|
global using Vanara.InteropServices;
|
||||||
global using static Vanara.PInvoke.Ws2_32;
|
global using static Vanara.PInvoke.Ws2_32;
|
||||||
global using HTTP_SERVICE_CONFIG_SETTING_PARAM = System.UInt32;
|
|
||||||
global using HTTP_OPAQUE_ID = System.UInt64;
|
|
||||||
|
|
||||||
global using HTTP_REQUEST_ID = System.UInt64;
|
|
||||||
global using HTTP_CONNECTION_ID = System.UInt64;
|
global using HTTP_CONNECTION_ID = System.UInt64;
|
||||||
|
global using HTTP_OPAQUE_ID = System.UInt64;
|
||||||
global using HTTP_RAW_CONNECTION_ID = System.UInt64;
|
global using HTTP_RAW_CONNECTION_ID = System.UInt64;
|
||||||
global using HTTP_URL_GROUP_ID = System.UInt64;
|
global using HTTP_REQUEST_ID = System.UInt64;
|
||||||
global using HTTP_SERVER_SESSION_ID = System.UInt64;
|
global using HTTP_SERVER_SESSION_ID = System.UInt64;
|
||||||
|
global using HTTP_SERVICE_CONFIG_SETTING_PARAM = System.UInt32;
|
||||||
global using HTTP_URL_CONTEXT = System.UInt64;
|
global using HTTP_URL_CONTEXT = System.UInt64;
|
||||||
|
global using HTTP_URL_GROUP_ID = System.UInt64;
|
||||||
|
|
||||||
namespace Vanara.PInvoke;
|
namespace Vanara.PInvoke;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue