Skip to content

Commit

Permalink
Release v1.2.10, see ChangeLog for details
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Ellzey committed Feb 24, 2015
1 parent 05fd68c commit 81fff10
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -3,7 +3,7 @@ project(libevhtp)

set(PROJECT_MAJOR_VERSION 1)
set(PROJECT_MINOR_VERSION 2)
set(PROJECT_PATCH_VERSION 9)
set(PROJECT_PATCH_VERSION 10)

#add_definitions(-D_FORTIFY_SOURCE=2)

Expand Down
60 changes: 60 additions & 0 deletions ChangeLog
@@ -1,3 +1,63 @@
v1.2.10
o client ssl connection added. This requires a SSL_CTX and must be set by the user (439431a StunMan)
o Only export public symbols. (cf66c7c Mark Ellzey)
o Export evhtp_connection_set_ratelimit (df2fbd6 Mark Ellzey)
o Uncomplexify evthr - huge performance boost. (8a6873e Mark Ellzey)
o Do backlogs matter for evthr? I am thinking not. (76b4a96 Mark Ellzey)
o Remove all the stupid backlog stuff. (cb4e280 Mark Ellzey)
o Proposed changes for request pause/resume (pipelined) (6cd8946 Mark Ellzey)
o Remove dead code from evthr (3d51c76 Mark Ellzey)
o Remove dead declarations in evthr.h (72488a8 Mark Ellzey)
o Be more consistent and slightly more lenient when handling GET params (86ba10b TJ Koblentz)
o Empty query args processed with a val of NULL, extended the test_query code (bc897d2 Mark Ellzey)
o add connection connected status for client connection (0e839f0 zhangjing)
o Added on_event hook / cleanup (22c0fac Mark Ellzey)
o Fixed bug with calling user-defined event callback :) (246e33d Mark Ellzey)
o Add a pkg-config .pc file (6e85a9b Mark Ellzey)
o TestBigEndian, and add big endian versions of _str*cmp macros (736bc80 Mark Ellzey)
o ignore build directory (submodule doesnt become dirty on build) (1aceedb TJ Koblentz)
o missing SSL guard + test compilation problems (-Wunused-but-set-variable) (787eeb9 TJ Koblentz)
o Fix some empty GET param cases (with tests) (e282b6f TJ Koblentz)
o Formatting cleanup (89f11cd Mark Ellzey)
o Cleanup and fixes (61c7f4f Mark Ellzey)
o (evhtp_free): Free ssl_ctx if used. (9318571 Marcus Sundberg)
o Properly handle errors when allocating connections and requests. (ab2f567 Marcus Sundberg)
o Prevent double free of request. (ec445f9 Martin Hedenfalk)
o Stop parsing when we have got a complete response/request. (279a7d3 Marcus Sundberg)
o (evhtp_connection_free): Call hook before freeing request. (c093ff9 Marcus Sundberg)
o Properly parse CONNECT request line. (76f2830 Marcus Sundberg)
o Support IPv6 literals in CONNECT authority string. (378b790 Marcus Sundberg)
o Separate fragment string from query string according to RFC 3986. (a9c0679 Marcus Sundberg)
o (evhtp_parse_query): Remove strange handling of '?' and '/'. (3d96f5e Marcus Sundberg)
o Fix parse errors on trailing whitespace in Content-Length header. (b67068c Marcus Sundberg)
o (evhtp_parse_query): Advance state to s_query_key after start. (a535258 Marcus Sundberg)
o Add hooks for host and port, and fill in authority struct. (1be3a0f Marcus Sundberg)
o (_evhtp_path_new): If len is 0 we set full to "/", just like path. (7d277f8 Marcus Sundberg)
o Do not use different API/ABI when regexps are disabled. (39fcb28 Marcus Sundberg)
o Fix warnings in test.c when EVHTP_DISABLE_REGEX is defined. (05b01cf Marcus Sundberg)
o Add keepalive flag to connection. (74031a7 Marcus Sundberg)
o Add evhtp_hook_on_conn_error hook for connection errors. (6c3ed3d Marcus Sundberg)
o Added the function evhtp_connection_new_dns(). (47eecd0 Jan Edhner)
o (evhtp_connection_new_dns): Handle errors. (b13994b Marcus Sundberg)
o (evhtp_connection_new): Handle IPv6 addresses. (ac97672 Marcus Sundberg)
o (_evhtp_create_headers): Use evbuffer_expand() to reserve space. (c4ed326 Marcus Sundberg)
o Use malloc() instead of calloc() for buffers we will immediately fill. (3906a65 Marcus Sundberg)
o added padding for all structs containing bitfields (a2ebece Mark Ellzey)
o Update evthr.c (1d492cc romange)
o Cleanup, use EVHTP_DISABLE_SSL for client (c32562a Mark Ellzey)
o Various fixes, see full commit message (d8a4935 Mark Ellzey)
o Added evhp_set_flags along with some documentation (27b5e8a Mark Ellzey)
o Symbol exports moved into headers, more documentation (352aebe Mark Ellzey)
o If available, use c99 to our advantage (read commit msg) (8a44e6f Mark Ellzey)
o Remove duplicate evbuffer_new for buffer_in (5284ce3 Mark Ellzey)
o Fix for client connect double-free condition (5267ed2 Mark Ellzey)
o Don't set conn->bev to NULL if error (ce2197e Mark Ellzey)
o Use new and faster wildcard matching function. (4047f1e Mark Ellzey)
o Integer to string optimizations. (4189bfa Mark Ellzey)
o Export the numtoa functions. (037c766 Mark Ellzey)
o Disable unused tailq for client requests (for future use in pipelined) (3516276 Mark Ellzey)
o More conversions from free to safe_free (05fd68c Mark Ellzey)

v1.2.9
o Accept upper-case "Chunked" in addition to "chunked" for transfer encoding. (07a9322 Tim Burks)
o [htparse] Added length checks for various header values (42050e8 Mark Ellzey)
Expand Down
7 changes: 3 additions & 4 deletions evhtp.h
Expand Up @@ -184,10 +184,10 @@ typedef evhtp_ssl_sess_t * (* evhtp_ssl_scache_get)(evhtp_connection_t * connect
typedef void * (* evhtp_ssl_scache_init)(evhtp_t *);
#endif

#define EVHTP_VERSION "1.2.9"
#define EVHTP_VERSION "1.2.10"
#define EVHTP_VERSION_MAJOR 1
#define EVHTP_VERSION_MINOR 2
#define EVHTP_VERSION_PATCH 9
#define EVHTP_VERSION_PATCH 10

#define evhtp_headers_iterator evhtp_kvs_iterator

Expand Down Expand Up @@ -467,7 +467,6 @@ struct evhtp_connection_s {
#ifdef EVHTP_FUTURE_USE
TAILQ_HEAD(, evhtp_request_s) pending; /**< client pending data */
#endif

};

struct evhtp_hooks_s {
Expand Down Expand Up @@ -1286,7 +1285,7 @@ EVHTP_EXPORT evhtp_connection_t *
evhtp_connection_new(evbase_t * evbase, const char * addr, uint16_t port);

#ifndef DISABLE_SSL
evhtp_connection_t * evhtp_connection_ssl_new(evbase_t * evbase, const char * addr, uint16_t port, evhtp_ssl_ctx_t* ctx);
evhtp_connection_t * evhtp_connection_ssl_new(evbase_t * evbase, const char * addr, uint16_t port, evhtp_ssl_ctx_t * ctx);
#endif


Expand Down

0 comments on commit 81fff10

Please sign in to comment.