From c91a0d2a35da0f07485bb413419cc6051b194e58 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Tue, 3 Dec 2019 09:25:00 -0800 Subject: [PATCH] (http client) use std::unordered_map instead of std::map for HttpParameters and HttpFormDataParameters class aliases --- DOCKER_VERSION | 2 +- docs/CHANGELOG.md | 4 ++++ ixwebsocket/IXHttp.h | 5 +++-- ixwebsocket/IXWebSocketVersion.h | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/DOCKER_VERSION b/DOCKER_VERSION index f8cb1fa1..0f4a1d6e 100644 --- a/DOCKER_VERSION +++ b/DOCKER_VERSION @@ -1 +1 @@ -7.4.2 +7.4.3 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 3d5e89ae..f6d560ba 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## [7.4.3] - 2019-12-03 + +- (http client) use std::unordered_map instead of std::map for HttpParameters and HttpFormDataParameters class aliases + ## [7.4.2] - 2019-12-02 - (client) internal IXDNSLookup class requires a valid cancellation request function callback to be passed in diff --git a/ixwebsocket/IXHttp.h b/ixwebsocket/IXHttp.h index 4e5ccdaa..0a3bf872 100644 --- a/ixwebsocket/IXHttp.h +++ b/ixwebsocket/IXHttp.h @@ -9,6 +9,7 @@ #include "IXProgressCallback.h" #include "IXWebSocketHttpHeaders.h" #include +#include namespace ix { @@ -65,8 +66,8 @@ namespace ix }; using HttpResponsePtr = std::shared_ptr; - using HttpParameters = std::map; - using HttpFormDataParameters = std::map; + using HttpParameters = std::unordered_map; + using HttpFormDataParameters = std::unordered_map; using Logger = std::function; using OnResponseCallback = std::function; diff --git a/ixwebsocket/IXWebSocketVersion.h b/ixwebsocket/IXWebSocketVersion.h index 3dc24b96..c33d0aae 100644 --- a/ixwebsocket/IXWebSocketVersion.h +++ b/ixwebsocket/IXWebSocketVersion.h @@ -6,4 +6,4 @@ #pragma once -#define IX_WEBSOCKET_VERSION "7.4.2" +#define IX_WEBSOCKET_VERSION "7.4.3"