Upgrading vendor folder dependencies.
This commit is contained in:
parent
4a0cbcd770
commit
acbe9ad9e5
229 changed files with 10735 additions and 4528 deletions
4
vendor/git.apache.org/thrift.git/lib/csharp/src/Properties/AssemblyInfo.cs
generated
vendored
4
vendor/git.apache.org/thrift.git/lib/csharp/src/Properties/AssemblyInfo.cs
generated
vendored
|
@ -51,5 +51,5 @@ using System.Runtime.InteropServices;
|
|||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.1")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.1")]
|
||||
[assembly: AssemblyVersion("0.12.0.1")]
|
||||
[assembly: AssemblyFileVersion("0.12.0.1")]
|
||||
|
|
4
vendor/git.apache.org/thrift.git/lib/csharp/src/Thrift.csproj
generated
vendored
4
vendor/git.apache.org/thrift.git/lib/csharp/src/Thrift.csproj
generated
vendored
|
@ -45,7 +45,7 @@
|
|||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<ApplicationVersion>0.12.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
|
@ -153,4 +153,4 @@
|
|||
<ProjectExtensions>
|
||||
<VisualStudio AllowExistingFolder="true" />
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
27
vendor/git.apache.org/thrift.git/lib/csharp/src/Transport/TBufferedTransport.cs
generated
vendored
27
vendor/git.apache.org/thrift.git/lib/csharp/src/Transport/TBufferedTransport.cs
generated
vendored
|
@ -81,7 +81,7 @@ namespace Thrift.Transport
|
|||
inputBuffer.Capacity = bufSize;
|
||||
|
||||
while (true)
|
||||
{
|
||||
{
|
||||
int got = inputBuffer.Read(buf, off, len);
|
||||
if (got > 0)
|
||||
return got;
|
||||
|
@ -129,9 +129,8 @@ namespace Thrift.Transport
|
|||
}
|
||||
}
|
||||
|
||||
public override void Flush()
|
||||
private void InternalFlush()
|
||||
{
|
||||
CheckNotDisposed();
|
||||
if (!IsOpen)
|
||||
throw new TTransportException(TTransportException.ExceptionType.NotOpen);
|
||||
if (outputBuffer.Length > 0)
|
||||
|
@ -139,9 +138,31 @@ namespace Thrift.Transport
|
|||
transport.Write(outputBuffer.GetBuffer(), 0, (int)outputBuffer.Length);
|
||||
outputBuffer.SetLength(0);
|
||||
}
|
||||
}
|
||||
|
||||
public override void Flush()
|
||||
{
|
||||
CheckNotDisposed();
|
||||
InternalFlush();
|
||||
|
||||
transport.Flush();
|
||||
}
|
||||
|
||||
public override IAsyncResult BeginFlush(AsyncCallback callback, object state)
|
||||
{
|
||||
CheckNotDisposed();
|
||||
InternalFlush();
|
||||
|
||||
return transport.BeginFlush( callback, state);
|
||||
}
|
||||
|
||||
public override void EndFlush(IAsyncResult asyncResult)
|
||||
{
|
||||
transport.EndFlush( asyncResult);
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void CheckNotDisposed()
|
||||
{
|
||||
if (_IsDisposed)
|
||||
|
|
21
vendor/git.apache.org/thrift.git/lib/csharp/src/Transport/TFramedTransport.cs
generated
vendored
21
vendor/git.apache.org/thrift.git/lib/csharp/src/Transport/TFramedTransport.cs
generated
vendored
|
@ -108,7 +108,7 @@ namespace Thrift.Transport
|
|||
writeBuffer.Write(buf, off, len);
|
||||
}
|
||||
|
||||
public override void Flush()
|
||||
private void InternalFlush()
|
||||
{
|
||||
CheckNotDisposed();
|
||||
if (!IsOpen)
|
||||
|
@ -126,10 +126,29 @@ namespace Thrift.Transport
|
|||
transport.Write(buf, 0, len);
|
||||
|
||||
InitWriteBuffer();
|
||||
}
|
||||
|
||||
public override void Flush()
|
||||
{
|
||||
CheckNotDisposed();
|
||||
InternalFlush();
|
||||
|
||||
transport.Flush();
|
||||
}
|
||||
|
||||
public override IAsyncResult BeginFlush(AsyncCallback callback, object state)
|
||||
{
|
||||
CheckNotDisposed();
|
||||
InternalFlush();
|
||||
|
||||
return transport.BeginFlush( callback, state);
|
||||
}
|
||||
|
||||
public override void EndFlush(IAsyncResult asyncResult)
|
||||
{
|
||||
transport.EndFlush( asyncResult);
|
||||
}
|
||||
|
||||
private void InitWriteBuffer()
|
||||
{
|
||||
// Reserve space for message header to be put right before sending it out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue