changed the way to fix ERROR_BROKEN_PIPE.

improved socket error translation
This commit is contained in:
2012-12-28 08:39:41 +00:00
parent eb28009952
commit 3aec7946c3
28 changed files with 394 additions and 1455 deletions

View File

@ -66,6 +66,8 @@ enum qse_nwio_errnum_t
QSE_NWIO_EINTR, /**< interrupted */
QSE_NWIO_ETMOUT, /**< timed out */
QSE_NWIO_EPIPE, /**< broken pipe */
QSE_NWIO_EAGAIN, /**< resource not available temporarily */
QSE_NWIO_ECONN, /**< connection refused */
QSE_NWIO_EILSEQ, /**< illegal sequence */
QSE_NWIO_EICSEQ, /**< incomplete sequence */

View File

@ -4,9 +4,9 @@
/* change this information whenever you update
* package version in configure.ac */
#define QSE_PACKAGE_VERSION "0.5.7"
#define QSE_PACKAGE_VERSION "0.6.0"
#define QSE_PACKAGE_VERSION_MAJOR 0
#define QSE_PACKAGE_VERSION_MINOR 5
#define QSE_PACKAGE_VERSION_PATCH 7
#define QSE_PACKAGE_VERSION_MINOR 6
#define QSE_PACKAGE_VERSION_PATCH 0
#endif

View File

@ -49,6 +49,7 @@ enum qse_httpd_errnum_t
QSE_HTTPD_EPIPE,
QSE_HTTPD_EAGAIN,
QSE_HTTPD_ECONN,
QSE_HTTPD_ENOBUF, /* no buffer available */
QSE_HTTPD_EDISCON, /* client disconnnected */
QSE_HTTPD_EBADREQ, /* bad request */