[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


 Description   
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...

 Comments   
Comment by Sergey Avseyev [ 06/Feb/13 ]
http://review.couchbase.org/24418
Generated at Fri Jul 11 12:15:11 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.