File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/MySqlConnector/Protocol/Serialization Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 21
21
22
22
before_install :
23
23
- .ci/docker-run.sh $IMAGE $NAME 3307 $OMIT_FEATURES
24
- - curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
25
- - sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/ microsoft.gpg
26
- - sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
24
+ - wget -q -O packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/14.04/packages- microsoft-prod.deb
25
+ - sudo dpkg -i packages- microsoft-prod.deb
26
+ - sudo apt-get install apt-transport-https
27
27
- sudo apt-get update
28
- - sudo apt-get install -y dotnet-sdk-2.1.4 dotnet-sharedframework-microsoft.netcore.app-1.1.2
28
+ - sudo apt-get install -y dotnet-sdk-2.1 dotnet-sharedframework-microsoft.netcore.app-1.1.2
29
29
30
30
script :
31
31
- dotnet restore
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ async Task<int> DoReadBytesAsync(ArraySegment<byte> buffer_)
57
57
{
58
58
bytesRead = await m_stream . ReadAsync ( buffer_ . Array , buffer_ . Offset , buffer_ . Count ) . ConfigureAwait ( false ) ;
59
59
}
60
- catch ( ObjectDisposedException ex )
60
+ catch ( Exception ex ) when ( ex is ObjectDisposedException || ex is IOException )
61
61
{
62
62
if ( RemainingTimeout != Constants . InfiniteTimeout )
63
63
{
You can’t perform that action at this time.
0 commit comments