-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathChangeLog
More file actions
365 lines (268 loc) · 16.1 KB
/
ChangeLog
File metadata and controls
365 lines (268 loc) · 16.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
2020-06-29 Sukit Saeo <sukit_owl@hotmail.com>
Fixed url construct bug when pathspec length < 3
2020-06-24 Kirit Saelensminde <kirit@felspar.com>
Removed deprecated APIs.
2020-04-23 Kirit Saelensminde <kirit@felspar.com>
* Deprecate a number of uses of wide character literals.
2020-02-09 Kirit Saelensminde <kirit@felspar.com>
Can now set exceptions as expected outcomes from the HTTP cache.
2020-01-22 Kirit Saelensminde <kirit@felspar.com>
Add high level user agent with test expectation support.
2019-11-13 Kirit Saelensminde <kirit@felspar.com>
Added a number of configuration options for server certificate checking.
2019-11-02 Kirit Saelensminde <kirit@felspar.com>
Add option to verify server certificates on the network connection and force UA to use it
2019-07-17 Kirit Saelensminde <kirit@felspar.com>
Add a way to stop a web server instance.
2019-07-16 Kirit Saelensminde <kirit@felspar.com>
Joining an empty fragment does not give the same result as joining a missing fragment.
2019-05-28 Kirit Saelensminde <kirit@felspar.com>
Add methods for fetching out string version and JSON version of mime bodies.
2018-08-31 Kirit Saelensminde <kirit@felspar.com>
Allow setting a URL fragment from a jcursor.
2018-08-22 Kirit Saelensminde <kirit@felspar.com>
Implement a better URL join that covers many more of the required cases.
2018-08-20 Kirit Saelensminde <kirit@felspar.com>
Remove usernames and passwords from URLs.
2018-08-19 Kirit Saelensminde <kirit@felspar.com>
Rename `url::anchor` to `url::fragment` as that is the proper term.
2018-07-18 Kirit Saelensminde <kirit@felspar.com>
Improve handling of weird ways TCP connections can be dropped and add more logging.
2018-07-02 Kirit Saelensminde <kirit@felspar.com>
The HTTP response body doesn't really need to be `const`.
2018-06-11 Kirit Saelensminde <kirit@felspar.com>
Add `fost-hod` for handling packet oriented data over TCP.
2018-04-05 Kirit Saelensminde <kirit@felspar.com>
No longer make use of Boost regex library.
2017-12-28 Kirit Saelensminde <kirit@felspar.com>
Make the `query_string` API a bit less pathalogical by caching the stringified version.
2017-12-13 Kirit Saelensminde <kirit@felspar.com>
JSON arrays used as header sub-values are now set as the JSON string.
2017-09-17 Kirit Saelensminde <kirit@felspar.com>
Removed all uses of `boost::function`
2017-07-14 Kirit Saelensminde <kirit@felspar.com>
Add single quote and dollar symbol to allowed URL path characters.
2017-07-13 Kirit Saelensminde <kirit@felspar.com>
The conversion of HTTP request file paths to strings now works for a wider range of inputs. The conversion to `boost::filesystem:;wpath` is problematic with Boost versions prior to 1.64 due to the way they use codecvt.
2017-06-13 Kirit Saelensminde <kirit@felspar.com>
Ampersands are allowed characters in the URL file specification.
2017-01-12 Kirit Saelensminde <kirit@felspar.com>
Removed the old `parser_lock` which is no longer needed.
2017-01-03 Kirit Saelensminde <kirit@felspar.com>
Switch to the new version of Boost Spirit. Drop support for Boost version prior to !.59.
2016-12-16 Kirit Saelensminde <kirit@felspar.com>
Add a cookie header parser.
2016-11-26 Kirit Saelensminde <kirit@felspar.com>
Replace older Boost code with `std::function` and lambdas.
2016-09-18 Kirit Saelensminde <kirit@felspar.com>
Make the remote address properly available on the server HTTP request.
2016-09-14 Kirit Saelensminde <kirit@felspar.com>
The HTTP server now adds a header describing the remote address.
2016-09-09 Kirit Saelensminde <kirit@felspar.com>
Handle setting MIME headers via JSON.
2016-08-08 Kirit Saelensminde <kirit@felspar.com>
Swap a `std::list` for a `std::vector` in the query string interface.
2016-08-07 Kirit Saelensminde <kirit@felspar.com>
Fix a bug in the server request so it properly returns a reference to the query string.
2016-07-30 Kirit Saelensminde <kirit@felspar.com>
* Allow a `jcursor` to access header sub-values.
* Allow header content to be created from a JSON object.
2016-07-29 Kirit Saelensminde <kirit@felspar.com>
* Allow access to some parts of the server request using a `jcursor`.
* Drop MIME headers that have an underscore in their names.
2016-07-28 Kirit Saelensminde <kirit@felspar.com>
Add shortcut method on HTTP request for getting to the headers.
2015-11-20 Kirit Saelensminde <kirit@felspar.com>
Removed use of deprecated Fost APIs.
2015-10-20 Kirit Saelensminde <kirit@felspar.com>
Make sure the web server logs an error message when it catches an excepion.
2015-05-10 Kirit Saelensminde <kirit@felspar.com>
Remove all uses of auto_ptr. Replace some with move semantics, others with unique_ptr.
2015-05-06 Kirit Saelensminde <kirit@felspar.com>
Fixed up the tests to use the new service API on the network connections.
2015-04-30 Kirit Saelensminde <kirit@felspar.com>
Changed the way that Boost ASIO IO services are used so that server accept sockets can be serviced totally independantly. This is an ugly workaround for the problem, but does at least cause all requests to be properly serviced.
Revert the change from 2015-04-24
2015-04-24 Kirit Saelensminde <kirit@felspar.com>
Make sure that a server io_service is properly associated with the connection. This also changes client sockets to all share a single io_service.
2015-03-29 Kirit Saelensminde <kirit@felspar.com>
Allow apostrophes in the `fostlib::url::filepath_string` strings.
2014-11-26 Kirit Saelensminde <kirit@felspar.com>
Allow MIME binary bodies to be made from start/end memory pointers.
2014-11-05 Kirit Saelensminde <kirit@felspar.com>
Only set Date and Host headers if they're not already set.
2014-05-31 Kirit Saelensminde <kirit@felspar.com>
Be absolutely sure that the URL parser lock is held when the parsers destruct.
2014-05-29 Kirit Saelensminde <kirit@felspar.com>
Added ampersand to allowed characters in the file path of a HTTP request on the server.
2014-05-22 Kirit Saelensminde <kirit@felspar.com>
Change expected exceptions for some tests because some platforms (i.e. Ubuntu Trusty) don't give socket connect errors, only time out errors when data is sent.
2014-05-19 Kirit Saelensminde <kirit@felspar.com>
Change the way that `boost::filesystem::wpath` instances are converted from strings in order to fix a Boost bug on Android.
2014-05-14 Kirit Saelensminde <kirit@felspar.com>
No longer throw `not_implemented` exceptions from the low level networking code.
Fix a bug where an exception wasn't always thrown when errors were reported reading from a socket.
2014-05-13 Kirit Saelensminde <kirit@felspar.com>
Include HTTP user agent response constructor useful for tests.
2014-05-11 Kirit Saelensminde <kirit@felspar.com>
Allow the MIME headers to be cast to JSON.
2014-05-10 Kirit Saelensminde <kirit@felspar.com>
Allow a termination lambda to also be passed into the HTTP server to control when to stop it. The lambda is only checked after a connection is opened.
2014-03-04 Kirit Saelensminde <kirit@felspar.com>
Hold the parser lock for a much shorter period when parsing a HTTP request to the web server.
2014-03-02 Kirit Saelensminde <kirit@felspar.com>
Alter the testing HTTP server request class so it can take a query string and the headers/body are optional.
2014-02-27 Kirit Saelensminde <kirit@felspar.com>
The `fostlib::url::query_string` class can now also be used to parse the standard format query string on the server side. The HTTP server query string is also now always a `url::query_string` instance.
2014-02-23 Kirit Saelensminde <kirit@felspar.com>
The MIME header names and values need to be retrievable in a case-insensitive manner as not everybody agrees on the correct case.
2014-02-22 Kirit Saelensminde <kirit@felspar.com>
Folding of long lines in MIME headers needs to be conditional on the protocol because most MIME protocols use it, but HTTP does not and some web servers don't handle folded lines.
2012-11-09 Kirit Saelensminde <kirit@felspar.com>
Allow the SMTP port to be set on the SMTP client and the tests.
2012-08-08 Kirit Saelensminde <kirit@felspar.com>
The URL parser (string constructor) now acquires the parser lock. This should help stop Boost Spirit failures.
2012-07-05 Kirit Saelensminde <kirit@felspar.com>
Changed some log output for the HTTP server to produce JSON objects rather than an array.
2012-07-03 Kirit Saelensminde <kirit@felspar.com>
Support the clang toolset in the compile script.
Removed some dead code.
2012-04-14 Kirit Saelensminde <kirit@felspar.com>
Exposed the HTTP server's status codes as text.
2012-01-30 Kirit Saelensminde <kirit@felspar.com>
Extended the set of allowable characters for the file specification and the query string in the HTTP server to include apostrophes.
2012-01-30 Kirit Saelensminde <kirit@felspar.com>
Disabled a test that is unreliable on Windows due to its limited network buffer.
2012-01-28 Kirit Saelensminde <kirit@felspar.com>
Fixed up some build errors for the new null_ptr.
2012-01-04 Kirit Saelensminde <kirit@felspar.com>
Changed one of the networking tests to send less data on Windows as the test would hardly ever pass. It is still a bit unreliable though :(
2011-10-24 Kirit Saelensminde <kirit@felspar.com>
Allow a few more characters in the file specification for URLs.
2011-10-22 Kirit Saelensminde <kirit@felspar.com>
Improved some of the error handling in the HTTP server.
Can now convert a URL file specification directly to a string.
2011-10-21 Kirit Saelensminde <kirit@felspar.com>
Added coercion from MIME to UTF8 strings.
2011-10-01 Kirit Saelensminde <kirit@felspar.com>
We can now coerce from a URL file specification to a Boost filesystem wpath.
2011-09-30 Kirit Saelensminde <kirit@felspar.com>
The host constructors now normalise to lower case any host name they are given.
We can now pass in a handler function to the HTTP server request for use when testing server responses.
2011-08-15 Kirit Saelensminde <kirit@felspar.com>
Connection errors now report the host and port they're trying to connect to.
The pop3 tests now allow the server to be configured, and it is more aggresive in keeping the mailbox empty.
The pop client includes some extra logging describing what it is doing.
Made a change to the TCP time out handling to support the version of gcc that Macs use.
2011-07-30 Kirit Saelensminde <kirit@felspar.com>
Made some changes to support Boost 1.46.0.
2011-07-22 Kirit Saelensminde <kirit@felspar.com>
Fixed a bug that was causing occasional data packets to be lost when sending large blocks of data.
2011-04-13 Kirit Saelensminde <kirit@felspar.com>
Implemented a proper exception type for a particular networking error.
2011-04-10 Kirit Saelensminde <kirit@felspar.com>
Improved the time out handling for large downloads where the download size is known in advance.
Added in a connect timeout which defaults to ten seconds.
2011-03-02 Kirit Saelensminde <kirit@felspar.com>
Implemented a more full version of the email address parser so it can handle names as well as well as email addresses.
2011-02-11 Kirit Saelensminde <kirit@felspar.com>
Fixed a bug that was causing the protocol to be lost when a relative URL was being generated.
2010-12-10 Kirit Saelensminde <kirit@felspar.com>
The URL parser now supports (at least some) custom query string formats. Also added in limited %XX decoding in the query string values.
2010-11-16 Kirit Saelensminde <kirit@felspar.com>
Added a very simple HTTP PUT based log sink for shipping logs to another machine.
2010-11-04 Kirit Saelensminde <kirit@felspar.com>
URLs are now usable directly as keys in STL containers as std::less is supported.
2010-10-15 Kirit Saelensminde <kirit@felspar.com>
FOST authentication for the server version of requests is now supported.
2010-10-08 Kirit Saelensminde <kirit@felspar.com>
fostlib::email_address instances can now be coerced from their JSON representation.
A new attach member on fostlib::mime_envelope allows for easier addition of mime types into the envelope.
The MIME type for MIME envelopes can now be set and the iterator for the data is now implemented.
The SMTP client now tracks its state and doesn't try to close the connection if it's not in a proper idle state.
2010-09-24 Kirit Saelensminde <kirit@felspar.com>
Errors connecting to sockets are now reported as instances of fostlib::exceptions::connect_failure. Socket errors are now all sub-classes of fostlib::exceptions::socket_error. Reads now also time out and throw a fostlib::exceptions::read_timout exception. The configuration setting
[Network settings]
Read time out=30
sets the number of seconds that the read time out value should have.
2010-09-19 Kirit Saelensminde <kirit@felspar.com>
fostlib::url::query_string objects can now be coerced from fostlib::string objects.
2010-06-02 Kirit Saelensminde <kirit@felspar.com>
Fost authentication
- Fixed the signature so that it signs the query string when there is
no post data.
2010-05-31 Kirit Saelensminde <kirit@felspar.com>
Fost authentication
- Added a utility function to add the authentication to a user agent.
2010-05-30 Kirit Saelensminde <kirit@felspar.com>
Host
- A host can now be configured with a port number as the service.
2010-04-28 Kirit Saelensminde <kirit@felspar.com>
Web server
- Added the 207 response code
- URLs may contain bangs (!)
2010-04-06 Kirit Saelensminde <kirit@felspar.com>
Parsers
- Removed the parser instances because they're not thread safe.
MIME
- Added support for multiple headers of the same name.
HTTP client
- Corrected behaviour for 304 responses.
2010-04-05 Kirit Saelensminde <kirit@felspar.com>
URL
- The query string can now be any sequence rather than only a map of
- key/value pairs.
HTTP client/server
- Added more allowable characters to the resource parser for HTTP requests.
- The server request now supports handling of bad requests.
- The HTTP client post and put short cuts now accept all data types
supported by the request.
- Changed the type of the server request query string to match that of the
URL.
- The parsing of the beginning of the HTTP request by the server is now
protected by a mutex because Boost.Spirit is not thread safe.
Host
- Added JSON coercions for fostlib::host.
2010-04-02 Kirit Saelensminde <kirit@felspar.com>
URL
- The host and port number are now mutable fields of the URL.
- Fixed a bug where port numbers weren't properly shown in URLs converted
to strings.
- Query string values may now contain forward slashes and colons.
- Fixed a bug where query strings were being thrown away when URLs were
parsed.
HTTP client/server
- The response body can now be detached from the client response as can the
request body from the server.
- The HTTP server now accepts additional verbs, more correct resource paths
and can return all status codes supported by HTTP 1.1.
2010-04-01 Kirit Saelensminde <kirit@felspar.com>
TCP/IP
- Most errors should now end up with a fostlib::exceptions::exception which
allows the error to be annotated.
HTTP client
- Fixed a bug in chunked encoding that was causing the chunks to end up
in the data block in the reverse order.
- The user agent request can now be built from passed in MIME data.
POP3 client
- Improved the error reporting by annotating exceptions in as many places
as possible.
2010-03-26 Kirit Saelensminde <kirit@felspar.com>
fget example
- Now supports the use of FOST authentication through the -authentication,
-key and -secret command line switches. There's also a -user switch to
handle authentication where the REST end point supports impersonation.
2010-03-25 Kirit Saelensminde <kirit@felspar.com>
MIME
- Improved handling of headers that don't have values.
2010-03-22 Kirit Saelensminde <kirit@felspar.com>
User agent
- The fget example now allows us to save to a file by using an extra
parameter.
- There is a new MIME type binary_body for handling in-memory binary MIME
data.
2010-03-22 Kirit Saelensminde <kirit@felspar.com>
Header files
- Moved all non-private headers out of include/fost/detail
ChangeLog
- Added ChangeLog