Skip to content

Commit 0a36018

Browse files
author
Sebastiano Merlino
committed
Changed version to 0.5.3
Added grow method to http_request
1 parent 0433de8 commit 0a36018

File tree

5 files changed

+224
-2
lines changed

5 files changed

+224
-2
lines changed

ChangeLog

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
Tue Oct 23 12:46:48 2012 +0200
2+
Changed version from 0.5.1 to 0.5.2 - Sebastiano Merlino
3+
4+
Tue Oct 23 12:46:07 2012 +0200
5+
Changed default log behaviour to print nothing
6+
Added getters and setters for dynamic components of WS - Sebastiano Merlino
7+
8+
Mon Oct 22 12:13:11 2012 +0200
9+
Modified version number and changelog in order to prepare tag - Sebastiano Merlino
10+
11+
Fri Oct 19 17:11:21 2012 +0200
12+
Added response constructor with byte - Sebastiano Merlino
13+
14+
Mon Oct 15 11:16:22 2012 +0200
15+
Removed unuseful dependency from libuuid - Sebastiano Merlino
16+
17+
Fri Oct 12 15:42:21 2012 +0200
18+
Solved a bug that made impossible to parse post data - Sebastiano Merlino
19+
20+
Wed Oct 10 17:19:25 2012 +0200
21+
Moved to version 0.5.1 - Sebastiano Merlino
22+
23+
Wed Oct 10 17:16:26 2012 +0200
24+
Added querystring to request attributes - Sebastiano Merlino
25+
26+
Fri Oct 5 18:00:38 2012 +0200
27+
Merge branch 'master' of https://github.com/etr/libhttpserver
28+
Conflicts:
29+
src/webserver.cpp - Sebastiano Merlino
30+
31+
Fri Oct 5 17:55:42 2012 +0200
32+
Added -D_REENTRANT to configuration.
33+
Aligned debian changelog.
34+
Added comet capabilities to the server. - Sebastiano Merlino
35+
36+
Tue Sep 25 00:50:45 2012 +0200
37+
Solved a bug with print in debug mode - Sebastiano Merlino
38+
39+
Mon Sep 24 15:29:28 2012 +0200
40+
Modified webserver in order to accept comet calls
41+
Added ignored patters in gitignore - Sebastiano Merlino
42+
43+
Sun Sep 23 19:10:28 2012 +0200
44+
Partially solved undefined symbol in wrappers - Sebastiano Merlino
45+
46+
Sun Sep 23 19:09:54 2012 +0200
47+
Avoided the usage of the sole option MHD_USE_POLL - Sebastiano Merlino
48+
49+
Thu Sep 20 08:47:24 2012 +0200
50+
Added forgotten modded_request.hpp file - Sebastiano Merlino
51+
52+
Thu Sep 20 08:46:33 2012 +0200
53+
Added .gitignore file - Sebastiano Merlino
54+
55+
Sat Sep 15 13:02:52 2012 +0200
56+
Moved http_endpoint to details namespace - Sebastiano Merlino
57+
58+
Sat Sep 15 02:39:47 2012 -0700
59+
Merge pull request #35 from etr/cflags_for_swig_in_pcfile
60+
add -I${includedir}/httpserver to CFLAGS - Sebastiano Merlino
61+
62+
Tue Aug 28 16:33:45 2012 +0200
63+
add -I${includedir}/httpserver to CFLAGS
64+
This make swig file generation easier because HTTPSERVER_CFLAGS can be
65+
directly used in swig file generation.
66+
This fix affect only clients that use swing on their code. - Dario Mazza
67+
68+
Sun Aug 26 19:03:44 2012 +0200
69+
Changed version.
70+
Aligned version and dependencies in pc and debian files
71+
Updated debian changelog. - Sebastiano Merlino
72+
73+
Sun Aug 26 18:55:05 2012 +0200
74+
Changed visibility of http_endpoint methods to avoid them to be called
75+
by external applications.
76+
Avoided explicit usage of MHD constants in classes interface.
77+
Changed http_resource interface in order to avoid copy-constructor calls
78+
and improve performances.
79+
Changed answer_to_connection method in order to avoid multiple checking
80+
on methods and thus improve performances.
81+
Added a way to register personalized error pages. - Sebastiano Merlino
82+
83+
Wed Aug 8 17:33:39 2012 +0200
84+
Removed code repetition in handle_request method - Sebastiano Merlino
85+
86+
Wed Aug 8 12:31:44 2012 +0200
87+
Added capability to compile with gcov
88+
Changed infinite loop in ws to use wait conditions
89+
Removed a bug from GET-like method handling - Sebastiano Merlino
90+
91+
Sun Aug 5 18:26:25 2012 +0200
92+
Modified in order to parse qs in POST/PUT cases - Sebastiano Merlino
93+
94+
Fri Aug 3 23:36:14 2012 +0200
95+
Avoid inclusion of internal headers - Sebastiano Merlino
96+
97+
Thu Aug 2 00:43:02 2012 +0200
98+
Changed in order to find libmicrohttpd in system - Sebastiano Merlino
99+
100+
Thu Jul 26 14:08:47 2012 +0200
101+
Solved some performance and style issues - Sebastiano Merlino
102+
103+
Wed Jul 25 18:42:48 2012 +0200
104+
Merge branch 'master' of github.com:etr/libhttpserver - Sebastiano Merlino
105+
106+
Wed Jul 25 18:41:45 2012 +0200
107+
Added some comments to http_endpoint and http_request - Sebastiano Merlino
108+
109+
Wed Jul 25 08:58:04 2012 -0700
110+
Merge pull request #29 from etr/libtool_version_number
111+
using m4 to define major,minor and revision number in configure.ac - Sebastiano Merlino
112+
113+
Wed Jul 25 17:50:05 2012 +0200
114+
using m4 to define major,minor and revision number in configure.ac and send version number to libtool and AC_INIT - Dario Mazza
115+
116+
Wed Jul 25 17:10:49 2012 +0200
117+
Changed in order to solve some problems with deb package and rpm package - Sebastiano Merlino
118+
119+
Tue Jul 24 16:55:51 2012 -0700
120+
Merge pull request #28 from etr/debpkg_patch_deps
121+
added parameter used to ignore dependecies during debpkg creation - Sebastiano Merlino
122+
123+
Wed Jul 25 01:51:52 2012 +0200
124+
added parameter used to ignore dependecies during debpkg creation - Dario Mazza
125+
126+
Wed Jul 25 00:42:25 2012 +0200
127+
Adjusted errors in debian rules - Sebastiano Merlino
128+
129+
Tue Jul 24 16:37:07 2012 +0200
130+
Modified rpm build in order to compile it
131+
Lowered required version of libmicrohttpd to 0.9.7 - Sebastiano Merlino
132+
133+
Tue Jul 24 13:28:38 2012 +0200
134+
Changed also build default directory for debs - Sebastiano Merlino
135+
136+
Tue Jul 24 13:22:59 2012 +0200
137+
Changed rules.in in order to avoid relative paths in deb compile - Sebastiano Merlino
138+
139+
Mon Jul 23 15:42:33 2012 +0200
140+
Solved a logical error in http_resource route
141+
Added some debug prints - Sebastiano Merlino
142+
143+
Sun Jul 22 00:24:04 2012 +0200
144+
Changed in order to add optional optimizations on ws - Sebastiano Merlino
145+
146+
Sat Jul 21 17:46:03 2012 +0200
147+
Changed in order to enhance deb packages generation
148+
Added rpm packages generation - Sebastiano Merlino
149+
150+
Sat Jul 21 00:43:39 2012 +0200
151+
adjusted error in changelog - Sebastiano Merlino
152+
153+
Sat Jul 21 00:41:43 2012 +0200
154+
Changed in order to include debian package creation to makefile - Sebastiano Merlino
155+
156+
Fri Jul 20 12:11:30 2012 -0700
157+
Merge pull request #26 from etr/debpackage
158+
project debianized - Sebastiano Merlino
159+
160+
Fri Jul 20 21:03:43 2012 +0200
161+
Merge branch 'master' of github.com:etr/libhttpserver - Sebastiano Merlino
162+
163+
Fri Jul 20 21:03:24 2012 +0200
164+
Changed version - Sebastiano Merlino
165+
166+
Fri Jul 20 13:45:53 2012 +0300
167+
adjusted bad comment - Sebastiano Merlino
168+
169+
Fri Jul 20 12:44:18 2012 +0200
170+
Added cmakemodule to support inclusion in cmake installers - Sebastiano Merlino
171+
172+
Thu Jul 19 16:32:33 2012 +0200
173+
Modified in order to avoid errors by autoconf - Sebastiano Merlino
174+
175+
Thu Jul 19 11:47:23 2012 +0000
176+
project debianized - Andrea Nicotra
177+
178+
Sat Jul 14 17:33:10 2012 +0200
179+
Adjusted methods signature in order to follow new interface. - Sebastiano Merlino
180+
181+
Fri Jul 13 15:51:31 2012 +0200
182+
Adjusted in order to avoid errors in regex matching - Sebastiano Merlino
183+
184+
Fri Jul 13 13:20:28 2012 +0200
185+
Added get single cookie method - Sebastiano Merlino
186+
187+
Sat Jul 7 16:18:56 2012 +0200
188+
Created new interface in order to optimize memory management - Sebastiano Merlino
189+
190+
Sat Jun 23 14:33:26 2012 +0200
191+
Modified in order to standardize doxygen generation.
192+
Altered file response management in order to avoid huge memory consumption
193+
that was due to the usage of libmicrohttpd native file readers - Sebastiano Merlino
194+
195+
Sun Jun 3 11:24:57 2012 +0200
196+
Changed http_endpoint, http_request, http_resource, http_response visibility in order to avoid constructions.
197+
Solved a problem (in ruby wrapper) due to the inlining of http_endpoint destructor
198+
Changed Test.hpp/Test.cpp in order to follow new interface - Sebastiano Merlino
199+
200+
Fri Jun 1 22:19:13 2012 +0200
201+
Merge branch 'master' of github.com:etr/libhttpserver
202+
Conflicts:
203+
src/httpserver/http_request.hpp
204+
src/httpserver/http_response.hpp
205+
src/webserver.cpp - Sebastiano Merlino
206+
207+
Fri Jun 1 22:02:06 2012 +0200
208+
Modified in order to follow gnu guidelines for interfaces - Sebastiano Merlino
209+

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
AC_PREREQ(2.57)
2323
m4_define([libhttpserver_MAJOR_VERSION],[0])dnl
2424
m4_define([libhttpserver_MINOR_VERSION],[5])dnl
25-
m4_define([libhttpserver_REVISION],[2])dnl
25+
m4_define([libhttpserver_REVISION],[3])dnl
2626
m4_define([libhttpserver_PKG_VERSION],[libhttpserver_MAJOR_VERSION.libhttpserver_MINOR_VERSION.libhttpserver_REVISION])dnl
2727
m4_define([libhttpserver_LDF_VERSION],[libhttpserver_MAJOR_VERSION:libhttpserver_MINOR_VERSION:libhttpserver_REVISION])dnl
2828
AC_INIT([libhttpserver], libhttpserver_PKG_VERSION, [electrictwister2000@gmail.com])

debian/changelog.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
libhttpserver (0.5.3) unstable; urgency=low
2+
* Added grow method to http_response
3+
4+
-- Sebastiano Merlino <electrictwister2000@gmail.com> Tue, 30 Oct 2012 12:49:42 +0100
5+
16
libhttpserver (0.5.2) unstable; urgency=low
27
* Changed default log behaviour to print nothing
38
* Added getters and setters for webserver external components

src/httpserver/http_request.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class http_request
509509
**/
510510
void grow_content(const char* content, size_t size)
511511
{
512-
this->content += std::string(content, size);
512+
this->content.append(content, size);
513513
}
514514
/**
515515
* Method used to set the path requested.

src/httpserver/http_response.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ class http_response
143143
{
144144
this->content = content;
145145
}
146+
void grow_content(const std::string& content)
147+
{
148+
this->content.append(content);
149+
}
150+
void grow_content(const char* content, size_t size)
151+
{
152+
this->content.append(content, size);
153+
}
146154
/**
147155
* Method used to get a specified header defined for the response
148156
* @param key The header identification

0 commit comments

Comments
 (0)