[CCBC-172] When connection aborted in GetError abort() function is called Created: 25/Jan/13  Updated: 06/Feb/13  Resolved: 06/Feb/13

Status: Closed
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.0.1
Fix Version/s: 2.0.3
Security Level: Public

Type: Bug Priority: Critical
Reporter: Haster Assignee: Sergey Avseyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: All Windows platforms
libcouchbase 2.0.1
Couchbase server 1.8.1

How to reproduce:
1) Start writing keys to a bucket.
2) Delete bucket from admin panel

As I understand problem is in getError function (plugin-win32.c)
In that case function WSAGetLastError() returns WSAECONNABORTED (10053)
But this value doesn't present in switch-case.
So executes code in default label and abort() function is called...

Comment by Sergey Avseyev [ 06/Feb/13 ]
Generated at Sun Nov 23 14:00:46 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.