Newer
Older
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
Mon May 2 06:08:26 CEST 2016
Adding logic to help address FE performance issue as
discussed on the mailinglist with subject
"single-threaded daemon, multiple pending requests, responses batched".
The new logic is only enabled when MHD_USE_EPOLL_TURBO is set.
Note that some additional refactoring was also done to clean up
the code and avoid code duplication, which may have actually fixed
an unrelated issue with HTTPS and a POLL-style event loop. -CG
Sat Apr 30 10:22:37 CEST 2016
Added clarifications to manual based on questions on list. -CG
Sat Apr 23 20:12:01 CET 2016
Tests perf_get_concurrent and test_concurrent_stop ported to use
pthread instead of fork(). Added more error detections. -EG
Sat Apr 23 16:06:30 CET 2016
Improved test_quiesce test. -EG
Sat Apr 23 15:39:38 CET 2016
Notify other threads in MHD_quiesce_daemon() so listen socket FD
is removed from awaiting select() and poll(). -EG
Sat Apr 23 14:17:15 CET 2016
Revert "shutdown trigger select" on Darwin. Fixed daemon shutdown
on Darwin without "MHD_USE_PIPE_FOR_SHUTDOWN" option. -EG
Fri Apr 22 14:29:28 CET 2016
Fixed race conditions when stopping quiesced daemon with thread
pool. -EG
Wed Apr 20 18:12:30 CET 2016
Fixed macros in sysfdsetsize.c which could prevent compiling with
non-default FD_SETSIZE.
Fixed comments in mhd_str.c.
Updated test_post.c to not ignore specific error on W32 if libcurl
is built with workaround for WinSock bug. -EG
Mon Apr 18 19:35:14 CET 2016
Fixed data races leading to inability in rare situations to
resume suspended connection. -EG
Tue Apr 13 21:46:01 CET 2016
Removed unneeded locking for global timeout list in
MHD_USE_THREAD_PER_CONNECTION mode.
Added 'simplepost' and 'largepost' examples to VS projects.
Added strtoXX() locale-independent replacement functions.
Added more error checking and minor fixes in digest auth
functions - should improve security.
Ignored specific errors in 'test_post' test until libcurl
will implement workaround for WinSock bug.
Fixed handling of caller-supplied socket with
MHD_OPTION_LISTEN_SOCKET (regression in 0.9.49).
Minor fixes.
Various cosmetics and comments fixes. -EG
Sat Apr 09 13:05:42 CET 2016
Releasing libmicrohttpd 0.9.49. -EG
Fri Apr 08 18:32:17 CET 2016
Some minor internal fixes, addition error checking and
micro optimizations.
Reworked usage of sockets shutdown() - now work equally
on all platforms, disconnection should be "more graceful". -EG
Tue Mar 15 21:52:27 CET 2016
Do not crash if pthread_create() fails. -DD
Tue Mar 15 20:29:34 CET 2016
Do not use eready DLL data structure unless
we are actually using epoll(). -DD/CG
Fri Feb 5 20:43:11 CET 2016
Fixed testsuite compile warning on W32.
Added check test for triggering poll() on
listen socket. -EG
Thu Feb 4 11:38:11 CET 2016
Added some buffer overrun protection.
Fixed handling of misformed URI with spaces. -EG
Wed Feb 3 15:41:57 CET 2016
Make signal-pipe non-blocking and drain it. -CG
Sat Jan 30 15:49:07 CET 2016
Fix running select() with empty fdsets on W32. -EG
Mon Jan 25 13:45:50 CET 2016
Added check test for triggering select() on
listen socket. -EG
Thu Jan 21 19:35:18 CET 2016
Fixed old bug with making sockets non-blocking on
various platforms so now sockets are really
non-blocking on all supported platforms.
Reworked and fixed code for using SOCK_CLOEXEC,
SOCK_NONBLOCK and EPOLL_CLOEXEC resulting in
fewer used system calls. -EG
Tue Jan 19 20:59:59 CET 2016
Cleaned up and optimized with minor fixes code for
making sockets non-blocking non-inheritable. -EG
Tue Jan 19 11:14:18 CET 2016
Removed workaround for Cygwin non-blocking sockets:
handling non-blocking sockets were fixed in Cygwin
and libmicrohttpd how uses non-blocking sockets on
all platforms. -EG
Mon Jan 18 23:54:45 CET 2016
Cleaned up examples to avoid giving oversimplified code
that may lead to complications if adopted naively. -CG
Sun Jan 17 11:18:55 CET 2016
Do no refuse to send response if sendfile() failed with
EINVAL (common error for files located on SMB/CIF). -EG
Sat Jan 16 19:14:39 CET 2016
Use US-ASCII only (instead of user locale settings) when
performing caseless string comparison as required by
standard. -EG
Tue Jan 12 16:10:09 CET 2016
Fixed declaraion of MHD_get_reason_phrase_for(). -EG
Mon Jan 11 19:58:50 CET 2016
Configure.ac small fixes and refactoring. -EG
Fri Dec 18 15:54:50 CET 2015
Releasing libmicrohttpd 0.9.48. -CG
Tue Dec 15 18:35:55 CET 2015
Improved compatibility with VS2010 and other older
compilers. -EG
Tue Dec 8 21:48:44 CET 2015
Default backlog size for listen socket was changed from
32 to SOMAXCONN, added new option MHD_OPTION_LISTEN_BACKLOG_SIZE
to override default backlog size.
If not all connections can be handled by MHD_select() than
at least some of connections will be processed instead of
failing without any processing.
Fixed redefenition of FD_SETSIZE on W32 so select() will
work with 2000 connections instead of 64.
Better handled redefenition of FD_SETSIZE on all
platforms. -EG
Sat Dec 5 17:30:45 CET 2015
Close sockets more aggressively in multi-threaded
mode (possibly relevant for idle servers). -CG
Fri Dec 4 13:53:05 CET 2015
Releasing libmicrohttpd 0.9.47. -CG
Thu Dec 3 18:21:44 CET 2015
Reworked VS project files. Used x64 build tools by
default, many optimizations, fixes.
Added project files for VS 2015. -EG
Tue Dec 1 14:05:13 CET 2015
SPDY is dead, killing experimental libmicrospdy. -CG
Tue Dec 1 10:01:12 CET 2015
New logic for controlling socket buffer modes.
Eliminated delay before last packet in response and before
"100 Continue" response on all platforms. Also response
header are pushed to client without waiting for response
body. -EG
Wed Nov 25 17:02:53 CET 2015
Remove 200ms delay observable with keep-alive on Darwin
and *BSD platfroms. -EG
Tue Nov 10 15:25:48 CET 2015
Fix issue with shutdown if connection was resumed just
before shutdown. -FC
Fri Nov 6 22:54:38 CET 2015
Fixing the buffer shrinkage issue, this time with test. -CG
Releasing libmicrohttpd 0.9.46. -CG
Tue Nov 3 23:24:52 CET 2015
Undoing change from Sun Oct 25 15:29:23 CET 2015
as the original code was counter-intuitive but
correct, and the new code does break pipelining.
Ignore empty lines at the beginning of an HTTP
request (more tolerant implementation). -CG
Sat Oct 31 15:52:52 CET 2015
Releasing libmicrohttpd 0.9.45. -CG
Tue Oct 27 12:08:02 CET 2015
Rework deprecation maros: fix errors with old GCC versions,
improved support for old clang and new GCC. -EG
Sun Oct 25 23:05:32 CET 2015
Return correct header kind in MHD_get_connection_values()
even if a bitmask is used for the "kind" argument. -FC/CG
Sun Oct 25 15:29:23 CET 2015
Fixing transient resource leak affecting long-lived
connections with many keep-alives and HTTP request
pipelining under certain circumstances (which reduced
the receive window).
Fixed assertion failure triggered by a race in
thread-per-connection mode on shutdown in rare
circumstances. -CG
Mon Oct 5 11:53:52 CEST 2015
Deduplicate code between digestauth and connection
parsing logic for URI arguments, shared code moved
to new MHD_parse_arguments_ function in internal.c. -CG
Thu Oct 1 21:22:05 CEST 2015
Releasing libmicrohttpd 0.9.44. -CG
Wed Sep 30 21:05:38 CEST 2015
Various fixes for W32 VS project files. -EG
Fri Sep 25 09:49:10 CEST 2015
Fix digest authentication with URL arguments where
value-less keys are given before the last argument.
Thanks to MA for reporting. -CG
Tue Sep 22 19:17:54 CEST 2015
Do not use shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN
is set. -CG
Wed Sep 16 11:06:02 CEST 2015
Releasing libmicrohttpd 0.9.43. -CG
Wed Sep 2 16:50:31 CEST 2015
Call resume_suspended_connections() when the user is running
its own mainloop and calls MHD_run_from_select() to support
resuming connections with external select. -FC
Sun Aug 30 14:53:51 CEST 2015
Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY
is allowed. -CG
Thu Aug 27 09:38:44 CEST 2015
Reimplement monotonic clock functions for better
support various platforms.
Print more information during configure. -EG
Fri Aug 14 14:13:55 CEST 2015
Export MHD_get_reason_phrase_for() symbol. -CG
Sat Aug 8 12:19:47 CEST 2015
Added checks for overflows and buffer overruns, fixed
possible buffer overrun.
Updated md5 implementation.
Fixed many compiler warning (mostly for VC compiler). -EG
Tue Aug 4 13:50:23 CEST 2015
Fix failure to properly clean up timed out connections
if running in external select mode without listen socket,
which caused busy waiting until new connections arrived.
(Fixes #3924, thanks to slimp for reporting and testcase). -CG
Sun Aug 2 19:08:20 CEST 2015
Ignore close() errors on sockets except for EBADF,
fixes #3926. -CG
Sat Jun 27 22:16:27 CEST 2015
Make sure to decrement connection counter before
calling connection notifier so that
MHD_DAEMON_INFO_CURRENT_CONNECTIONS does not
present stale information (relevant if this is
used for termination detection of a daemon
stopped via MHD_quiesce_daemon()). Thanks to
Markus Doppelbauer for reporting. -CG
Fri Jun 26 23:17:20 CEST 2015
Fix (automatic) handling of HEAD requests with
MHD_create_response_from_callback() and HTTP/1.1
connection keep-alives. Thanks to Cristian Klein
for reporting. -CG
Tue Jun 09 18:30:17 CEST 2015
Add new functions MHD_create_response_from_fd64() and
MHD_create_response_from_fd_at_offset64(). -EG
Thu Jun 4 13:37:05 CEST 2015
Fixing memory leak in digest authentication. -AW
Wed Jun 03 21:23:47 CEST 2015
Add deprecation compiler messages for deprecated functions
and macros. -EG
Fri May 29 12:23:01 CEST 2015
Fixing digest authentication when used in combination
with escaped characters in URLs. -CG/AW
Wed May 13 11:49:09 CEST 2015
Releasing libmicrohttpd 0.9.42. -CG
Wed May 13 11:33:59 CEST 2015
Fix off-by-one in MHD_start_daemon_va() error handling logic
when initialization of threads for thread pool fails for some
reason. -CG/JC
Thu May 7 17:05:46 CEST 2015
Add support for poll() in W32. -EG
Wed May 6 18:07:38 CEST 2015
Fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT. -asherkin
Thu Apr 30 00:03::49 CEST 2015
Releasing libmicrohttpd 0.9.41. -CG
Thu Apr 30 00:02:33 CEST 2015
Fix issue where resumed connections would not continue
unless other requests are active in certain
event-loop modes. Thanks to Mike Castillo for reporting. -CG
Wed Apr 15 03:16:18 CEST 2015
Fixing issue #3753 (testcase issue). -CG
Wed Apr 15 00:30:34 CEST 2015
Fix looping issue when using MHD_USE_POLL_INTERNALLY
and a client times out. -LB
Sun Apr 12 21:48:50 CEST 2015
Fix looping issue when combining MHD_USE_EPOLL_LINUX_ONLY
with HTTPS and slow clients. -CG
Fri Apr 10 22:02:27 CEST 2015
Fix logic to add "Connection: Close" that was broken in 0.9.38
when adding MHD_RF_HTTP_VERSION_1_0_ONLY. -CG
Fri Apr 10 00:38:40 CEST 2015
Ensure fast termination in MHD_USE_THREAD_PER_CONNECTION
mode on W32 by using signal pipe. -CG
Thu Apr 9 09:01:15 CEST 2015
Fixing issue with undrained signal pipe when using
MHD_USE_SELECT_INTERNALLY and MHD_USE_POLL in combination
with MHD_resume_connection(), causing 100% CPU usage. -DD
Tue Apr 7 00:12:36 CEST 2015
Releasing libmicrohttpd 0.9.40. -CG
Sat Apr 4 18:28:24 CEST 2015
Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION
mode if shutdown is initiated while connections are active. -CG
Sat Apr 4 17:48:13 CEST 2015
Fix issue in thread-pool mode where a MHD_stop_daemon()
might not reach threads that stopped listening because
we hit the maximum number of concurrent connections and
the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used.
Testcase added as well. -CG
Fri Apr 3 12:55:31 CEST 2015
Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead.
Fri Apr 3 12:25:28 CEST 2015
Do not enforce FD_SETSIZE-limit on worker control
pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG
Tue Mar 31 10:28:26 CEST 2015
Adding MHD_OPTION_NOTIFY_CONNECTION,
MHD_CONNECTION_NOTIFY_STARTED,
MHD_CONNECTION_NOTIFY_CLOSED and
MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow
applications to trigger operations when TCP
connections start or end, instead of just
exposing HTTP requests starting and ending. -RG/CG
Thu Feb 26 09:55:43 CET 2015
Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS
from working within a MHD_OPTION_ARRAY. -DD
Sun Feb 8 01:24:38 CET 2015
Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by
Andrew Basile. -CG/AB
Wed Feb 4 20:34:22 CET 2015
Fix issue where for HTTP/1.0-clients that set
Connection: Keep-Alive header a response of
indefinite size was generated with chunked encoding. -CG
Sun Jan 18 20:09:06 CET 2015
Fix potential infinite loop on shutdown in multi-threaded mode
under certain conditions. -CG
Mon Dec 22 16:33:18 CET 2014
Releasing 0.9.39. -CG
Mon Dec 22 13:02:36 CET 2014
Fix generated compiler flags for Solaris Studio linker (#3584). -CG
Sat Dec 20 00:35:40 CET 2014
Adding MHD_http_unescape() to public API (#3585). -CG
Updating documentation to document
MHD_is_feature_supported(). -CG
Thu Dec 4 00:43:10 CET 2014
If "Connection: upgrade" is requested, do not add
"Connection: Keep-Alive" in the response. -GJ
Tue Nov 18 13:52:29 CET 2014
Call MHD_cleanup_connections() during MHD_DAEMON_INFO_CURRENT_CONNECTIONS
processing for more accurate results. -MS
Wed Oct 29 20:45:21 CET 2014
Adding MHD_OPTION_LISTENING_ADDRESS_REUSE option allowing clients
to force allowing re-use of the address:port combination
(SO_REUSEPORT). -MS
Wed Oct 29 16:27:05 CET 2014
Adding MHD_DAEMON_INFO_CURRENT_CONNECTIONS to allow clients
to query the number of active connections. -MS
Fri Oct 3 14:28:58 CEST 2014
Releasing 0.9.38. -CG
Mon Sep 29 22:25:34 CEST 2014
Properly decode '+' in URL-encoded POST data. -CG/KM
Fri Sep 12 17:32:09 CEST 2014
Fix --disable-dauth configure option (#3543). -doostee
Thu Jun 26 21:06:04 CEST 2014
Fix failure to terminate 'instantly' in thread-per-connection
mode if there is a client with open connections.
Thanks to Kenneth Mastro for reporting. -CG
Sun Jun 22 12:22:08 CEST 2014
Actually, avoid locking on response as responses must
not be modified in a connection-specific way; instead
modify the connection's data buffer to add missing
responses headers. If we are forced to add
"Connection: close", suppress output of conflicting
application-provided "Connection: Keep-Alive" header. -CG
Sun Jun 22 00:22:08 CEST 2014
Lock on response if adding headers, needed if response
object is shared across threads and connections. -CG
Thu Jun 19 17:32:32 CEST 2014
Ensure that listen FD is bound to epoll FD even before
MHD_run() is called if running with MHD_USE_EPOLL_LINUX_ONLY
in combination with 'external select' mode. Thanks to
Marcos Pindado Sebastian for reporting. -CG
Sun Jun 8 15:10:44 CEST 2014
Add 'MHD_set_response_options' as a way to set per-response
flags. Add flag to force HTTP 1.0-only conservative
behavior, in particular suppressing adding "Connection"
headers. -CG
Mon Jun 2 00:03:28 CEST 2014
Added back unescaping for URI path (#3413) but without
unescaping '+' (#3371) to remain compatible with
MHD 0.9.34 and before. Note that applications providing
a custom MHD_OPTION_UNESCAPE_CALLBACK are no longer expected
to replace '+' with ' ', as that is now done separately for
the locations where this transformation is appropriate.
Releasing 0.9.37. -CG
Wed May 28 15:30:56 CEST 2014
Properly applying patch that was supposed to be
committed on "May 2 20:22:45 CEST 2014" to address
infinite loop (DoS) when HTTP connection is reset (#3392). -GM
Sun May 25 20:18:27 CEST 2014
Fixed W32 build issues. -EG
Releasing 0.9.36. -CG
Sat May 17 06:47:00 CEST 2014
Fix notifying client about completed request twice
under certain circumstances. -CG
Tue May 13 18:24:37 CEST 2014
Fix accidental transmission of footer termination '\r\n'
for responses with zero byte payload and non-chunked
encoding (#3397). Thanks to amatus for reporting. -CG
Sun May 4 11:05:26 CEST 2014
Fix gnutls header check to make it cross-compile aware. -BK
May 2 20:22:45 CEST 2014
Fix infinite loop (DoS) when HTTP connection is reset (#3392). -GM
Fix possible issue from combination of epoll and suspend/resume
logic if edge trigger event is lost; also simplify logic to
maintain simpler invariants on the epoll state. -CG
Use OpenSSL cipher list "HIGH" in libmicrospdy (#3391). -CG
Releasing 0.9.35. -CG
Thu Apr 10 09:39:38 CEST 2014
Removed unescaping for URI path (#3371) as '+' should not
be converted to space in accordance with
http://www.w3.org/TR/html401/appendix/notes.html#ampersands-in-uris
and http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
Note that we now also no longer convert '#38;' to '&'; if needed,
the application needs to apply unescaping to the path of the URI
itself (before, MHD unescaped '#38;' but not '&', so this
inconsistency was now resolved by simply not unescaping anything
before the first '&'). -CG
Tue Apr 08 15:35:44 CET 2014
Added support for W32 native threads.
Added --with-threads=LIB configure parameter. -EG
Mon Apr 7 13:25:30 CEST 2014
Add MHD_OPTION_HTTPS_MEM_DHPARAMS to allow applications
to enable PFS. -HB/CG
Tue Apr 01 07:10:23 CET 2014
Added usage of native mutex on W32. -EG
Sat Mar 29 16:12:03 CET 2014
Added MHD_is_feature_supported() function. -EG
Thu Mar 27 14:47:54 CET 2014
Used larger FD_SETSIZE internally on W32.
Extended API to work with non-default FD_SETSIZE. -EG
Tue Mar 25 12:53:55 CET 2014
Fix limiting by IPv6 address. -EG
Tue Mar 25 09:06:13 CET 2014
Added more FD_SETSIZE checks.
Implemented FD_SETSIZE checks for W32. -EG
Wed Mar 05 13:15:05 CET 2014
Cleanup and refactoring of configure.ac.
m4 macros updated.
Custom configure macros replaced with autoconf archive macros.
SPDY disabled by default on W32.
Changed configure flag from '--disable-pipe' to
'--enable-socketpair'.
Added configure flags '--disable-doc' and '--disable-examples'.
Narrowed down extrenal lib specific compiler and linker flags
usage. -EG
Wed Feb 26 17:42:34 CET 2014
Refactoring of configure.ac: custom macros replaced with macros
from Autoconf Archive.
Minor corrections of configure.ac.
Excluded pthread flags from global flags, pthread now used only
where required.
W32: fixed .dll resource compilation with '-isystem' CPPFLAG.
W32: improved header compatibility with MSVC.
W32: now tested on Win64, compiled by MinGW-w64. -EG
Mon Feb 24 23:13:53 CET 2014
Added support for TCP FASTOPEN. -SHT
Releasing 0.9.34. -CG
Thu Feb 20 14:17:05 CET 2014
W32: Added creation of libmicrohttpd.lib, libmicrohttpd.def,
libmicrohttpd.exp and libmicrohttpd-static.lib for easy use
compiled MHD with MSVC.
W32: Use MS lib.exe tool if available for creating MSVC staff.
W32: Added .dll information resource. -EG
Tue Feb 18 19:46:45 CET 2014
Removed dependency on plibc for simpler compilation for W32.
Added configure option "--disable-pipes" to use socketpairs
instead of pipes for signalling to child threads. Pipes are
always disabled on W32.
Some code refactoring. -EG
Sat Feb 8 15:08:35 CET 2014
Corrected some uses of 'int' vs. 'size_t'. -EG/CG
Wed Jan 22 09:44:33 CET 2014
MHD_USE_DUAL_STACK in libmicrohttpd currently just *inhibits
setting* the IPV6_V6ONLY socket option, but per Microsoft's
documentation the default on Windows is that this is enabled, thus
MHD_USE_DUAL_STACK will not work (since it leaves the
default). libmicrohttpd should probably just unconditionally set
IPV6_V6ONLY to the desired value when the option is available. -LJ
Wed Jan 1 21:38:18 CET 2014
Allow Keep-Alive with HTTP 1.0 (if explicitly requested),
and automatically set "Connection: Keep-Alive" in response
in this case as well. -CG
Tue Dec 24 12:27:39 CET 2013
Adding explicit annotations to hide symbols that are not for
export in the C code (gcc 4.0 or higher only). -CG
Sun Dec 22 14:54:30 CET 2013
Adding a few lines to avoid warnings from picky compilers. -CG
Sat Dec 21 17:26:08 CET 2013
Fixed an issue with a missing argument in the postexample.
Fixed issue with bogus offset increment involving sendfile
on GNU/Linux. Adding support for SNI.
Releasing 0.9.33. -CG
Mon Dec 9 21:41:57 CET 2013
Fix for per-worker daemon pipes enabled with
MHD_USE_SUSPEND_RESUME that were not closed in
MHD_stop_daemon. -MH
Sat Dec 7 00:44:49 CET 2013
Fixing warnings and build issue if --disable-https is given
to configure. -CG
Tue Dec 3 21:25:56 CET 2013
Security fix: do not read past 0-terminator when unescaping
strings (thanks to Florian Weimer for reporting).
Releasing 0.9.32. -CG
Tue Dec 3 21:05:38 CET 2013
Signaling n times for shutdown works, but for resume we need to
wake up the correct daemon. Even if we signal n times in that
case also, there's no guarantee that some daemon can't run
through its select loop more than once before the daemon we want
to wake up gets a chance to read. Thus we need a signal pipe
per thread in the thread pool IF MHD_suspend_connection is used.
This introduces a new flag MHD_USE_SUSPEND_RESUME to add those
additional pipes and only allow MHD_suspend_connection to be
used in conjunction with this flag.
Also, as MHD_resume_connection() will be called on a non-daemon
thread, but none of the queue insert/delete calls are thread safe,
we need to be concerned about (a) corrupting the queue, and (b)
having to add mutex protection around every access to the queues,
including loops through timer queues, etc. This wasn't a problem
before adding resume; even suspend should be safe since it happens
in a callback from the daemon.
I think it's easier to (a) have MHD_suspend_connection() move the
connection to a suspended queue, (b) have MHD_resume_connection()
mark the connection as resuming, and then (c) do all the actual
queue manipulations in MHD_select (poll, epoll, etc.) to move the
resumed connections back to their normal queues, in response to
the wake up. The changes are simpler & cleaner. There is a cost to
the basic select loop that is avoided by making suspend/resume a
startup option. The per-worker pipes can then also be enabled only
with that option set. -MH
Fri Nov 29 20:17:03 CET 2013
Eliminating theoretical stack overflow by limiting length
of URIs in authentication headers to 32k (only applicable
if the application explicitly raised the memroy limits,
and only applies to MHD_digest_auth_check). Issue was
reported by Florian Weimer. -CG
Tue Nov 26 01:26:15 CET 2013
Fix race on shutdown signal with thread pool on non-Linux
systems by signalling n times for n threads. -CG
Sun Nov 24 13:41:15 CET 2013
Introduce state to mark connections in suspended state (with
epoll); add missing locking operations in MHD_suspend_connection.
Fix definition of MHD_TLS_CONNECTION_INIT. -MH/JC
Wed Oct 30 09:34:20 CET 2013
Fixing issue in PostProcessor when getting partial boundary
at the beginning, expanding test suite. -CG
Sun Oct 27 15:19:44 CET 2013
Implementing faster processing of upload data in multipart
encoding (thanks to performance analysis by Adam Homolya). -CG
Thu Oct 24 10:40:03 CEST 2013
Adding support for connection flow control via
MHD_suspend_connection and MHD_resume_connection. -CG
Sat Oct 19 16:40:32 CEST 2013
Releasing libmicrohttpd 0.9.31. -CG
Mon Sep 23 20:24:48 CEST 2013
Fixing build issues on OS X with CLOCK_MONOTONIC not being
implemented on OS X. -CG
Mon Sep 23 14:15:00 CEST 2013
Make libmicrohttpd play nicely with upcoming libgcrypt 1.6.0. -CG
Fri Sep 20 17:01:37 CEST 2013
Improved configure checks for cURL. -CG
Wed Sep 18 18:29:24 CEST 2013
Signal connection termination as OK (and not as ERROR) if the
stream was terminated by the callback returning
MHD_CONTENT_READER_END_OF_STREAM. Also, release response
mutex before calling the termination callback, to avoid
possible deadlock if the client destroys the response in
the termination callback (due to non-recursiveness of the
lock). -CG
Wed Sep 18 14:31:35 CEST 2013
Adding #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN. -CG
Tue Sep 17 21:32:47 CEST 2013
Also pass MHD connection handle in URI log callback. -CG
Fri Sep 6 10:00:44 CEST 2013
Improved check for proper OpenSSL version for
libmicrospdy. -CG
Wed Sep 4 17:23:15 CEST 2013
Set IPV6_V6ONLY socket option correctly when IPv6 is
enabled (MHD_USE_IPv6) but not dual stack
(MHD_USE_DUAL_STACK) -MW
Mon Sep 2 22:59:45 CEST 2013
Fix use-after-free in epoll()-mode on read error.
Releasing libmicrohttpd 0.9.30. -CG
Sun Sep 1 21:55:53 CEST 2013
Fixing build issues on FreeBSD. -CG
Fri Aug 30 13:53:04 CEST 2013
Started to implement #3008 (RFC 2616, section 8.1.4
says HTTP server SHOULD terminate connection if the
client closes it for writing via TCP FIN, so we should
continue to try to read and react differently
if recv() returns zero). -CG
Wed Aug 28 18:40:47 CEST 2013
Fix #3007 (build issue if messages are disabled). -CG
Tue Aug 27 18:39:08 CEST 2013
Fix build issue if SOCK_NONBLOCK/EPOLL_CLOEXEC are not
defined (as is the case on older glibc versions). -CG
Fri Aug 23 14:28:02 CEST 2013
Releasing libmicrohttpd 0.9.29. -CG
Mon Aug 12 23:51:18 CEST 2013
Updated manual, documenting W32 select/shutdown issue. -CG
Sat Aug 10 21:01:18 CEST 2013
Fixed #2983. -CG
Sat Aug 10 20:39:27 CEST 2013
Use 'errno' to indicate why 'MHD_add_connection' failed
(#2984). -CG
Sat Aug 10 17:31:31 CEST 2013
Disable use of 'shutdown' on W32 always as winsock
doesn't properly behave with half-closed connections
(see http://www.chilkatsoft.com/p/p_299.asp). -CG/LRN
Thu Aug 8 07:55:07 CEST 2013
Fixing issue with pipelining not working as desired. -CG
Wed Aug 7 08:17:40 CEST 2013
Removing dependency on liberty (on W32). -MC
Fri Aug 2 20:55:47 CEST 2013
Fix HTTP 1.1 compliance with respect to not returning
content-length headers for successful "CONNECT" requests.
Note that for unsuccessful "CONNECT" requests with an
empty response body, users must now explicitly set the
content-length header. -CG
Sun Jul 28 16:35:17 CEST 2013
Fixing build issue (missing #ifdef) in conjunction with
--disable-messages. -blueness
Sat Jul 20 12:35:40 CEST 2013
Fixing combination of MHD_USE_SSL and MHD_USE_EPOLL_LINUX_ONLY. -CG
Fri Jul 19 09:57:27 CEST 2013
Fix issue where connections were not cleaned up when
'MHD_run_from_select' was used. Adding experimental
TURBO mode.
Releasing libmicrohttpd 0.9.28. -CG
Sun Jul 14 19:57:56 CEST 2013
Removing 'shutdown' calls that happen just before close or
that are for read-only and for a client that has already
stopped sending anyway (thus reducing number of system calls
slightly). -CG
Sun Jul 14 19:37:37 CEST 2013
Name MHD worker threads on glibc >= 2.12. -,L4X[o](B
Fri Jul 5 12:05:01 CEST 2013
Added MHD_OPTION_CONNECTION_MEMORY_INCREMENT to allow users
to specify a custom value for incrementing read buffer
sizes (#2899). -MH
Fri Jun 28 14:05:15 CEST 2013
If we shutdown connection for reading on POST due to error,
really do not process further requests even if we already
read the next request from the connection. Furthermore, do
not shutdown connections for reading on GET/HEAD/etc. just
because the application queued a response immediately ---
reserve that behavior for PUT/POST. -CG
Tue Jun 25 15:08:30 CEST 2013
Added option 'MHD_USE_DUAL_STACK' to support a single
daemon for IPv4 and IPv6 without the application having
to do the binding. -CG
Mon Jun 24 22:33:34 CEST 2013
Finished integration with epoll, including benchmarking and
documentation. -CG
Sun Jun 23 15:28:13 CEST 2013
Added option 'MHD_USE_PIPE_FOR_SHUTDOWN' to cleanly support
'MHD_quiesce_daemon' with thread pools and per-connection
threads (we then need a pipe for shutdown, but if
'MHD_quiesce_daemon' is not used, we do not want to
require the use of a pipe; introducing the pipe after
the threads have been started can also fail, so the
application needs to tell us early on). -CG
Sat Jun 22 20:24:17 CEST 2013
Removed locking calls for thread modes that do not need them.
Reorganized way to obtain connection's event loop state.
Added sorted XDLL for connections with default timeout to
avoid having to loop over all connections to determine current
timeout (custom per-connection timeouts are in another list
which is iterated each time). -CG
Fri Jun 21 20:55:48 CEST 2013
Preparing build system and tests for epoll support. -CG
Tue May 21 14:34:36 CEST 2013
Improving configure tests for OpenSSL and spdylay to
avoid build errors in libmicrospdy code if those libraries
are not present. -CG
Mon May 20 12:29:35 CEST 2013
Added MHD_CONNECTION_INFO_CONNECTION_FD to allow clients
direct access to connection socket; useful for COMET
applications that need to disable NAGLE (#2886). -CG
Mon May 15 12:49:01 CEST 2013
Fixing #2859. -CG
Sun May 5 21:44:08 CEST 2013
Merged libmicrospdy code with libmicrohttpd build system
(no major changes to libmicrospdy itself yet). -CG
Sun May 5 20:13:59 CEST 2013
Improved documentation and code style a bit.
Releasing libmicrohttpd 0.9.27. -CG
Thu Apr 25 13:08:10 CEST 2013
Added 'MHD_quiesce_daemon' to allow application to stop
processing new incoming connections while finishing
ongoing requests. -CG
Sun Mar 31 23:17:13 CEST 2013
Added MHD demonstration code 'src/examples/demo.c'. -CG
Sun Mar 31 20:27:48 CEST 2013
Adding new API call 'MHD_run_from_select' to allow programs
running in 'external select mode' to reduce the number of
'select' calls by a factor of two. -CG
Sun Mar 31 20:03:48 CEST 2013
Performance improvements, updated documentation.
Make better use of available memory pool memory for
reading (especially important for large POST uploads);
improve post processor speed by internally adjusting the
buffer size by 4 bytes to ensure "round" IO sizes given
a "round" post processor buffer size argument. Note
that applications that previously added 4 bytes to the
post processor buffer size might now perform worse.
Using the new 'demo' example, POST upload speed
increased from ~90 MB/s to ~120 MB/s for a large file
(note that the improvement comes from better aligned
disk IO; without disk IO, the speed was (and remains)
at ~1500 MB/s on this system). -CG
Fri Mar 29 16:44:29 CET 2013
Renaming testcases to consistenly begin with test_;
Changing build system to build examples in doc/.
Releasing libmicrohttpd 0.9.26. -CG
Thu Mar 7 10:13:08 CET 2013
Fix bug in postprocessor URL parser (#2818). -jgresula
Mon Mar 4 13:45:35 CET 2013
Fix dropping of SSL connections if uptime is less than
MHD_OPTION_CONNECTION_TIMEOUT due to integer underflow (#2802). -greed
Fri Mar 1 01:11:57 CET 2013
Fully initialize cleanup mutex struct for each thread (#2803). -Ulion
Wed Feb 6 01:51:52 CET 2013
Releasing libmicrohttpd 0.9.25. -CG
Fri Feb 1 10:19:44 CET 2013
Handle case where POST data contains "key=" without value
at the end and is not new-line terminated by invoking the
callback with the "key" during MHD_destroy_post_processor (#2733). -CG
Wed Jan 30 13:09:30 CET 2013
Adding more 'const' to allow keeping of reason phrases in ROM.
(see mailinglist). -CG/MV
Tue Jan 29 21:27:56 CET 2013
Make code work with PlibC 0.1.7 (which removed plibc_init_utf8).
Only relevant for W32. Fixes #2734. -CG
Sat Jan 26 21:26:48 CET 2013
Fixing regression introduced Jan 6 (test on data_size instead
of total_size. -CG
Fri Jan 11 23:21:55 CET 2013
Also return MHD_YES from MHD_destroy_post_processor if
we did not get '\r\n' in the upload. -CG
Sun Jan 6 21:10:13 CET 2013
Enable use of "MHD_create_response_from_callback" with
body size of zero. -CG
Tue Dec 25 16:16:30 CET 2012
Releasing libmicrohttpd 0.9.24. -CG
Tue Dec 18 21:18:11 CET 2012
Given both 'chunked' encoding and 'content-length',
ignore the 'content-length' header as per RFC. -ES
Thu Dec 6 10:14:44 CET 2012
Force adding "Connection: close" header to response if
client asked for connection to be closed (so far, we
did close the connection, but did not send the
"Connection: close" header explicitly, which some clients
seem to dislike. (See discussion on mailinglist).
Also, if there is already a transfer-encoding other
than 'chunked' set by the application, we also now close
the connection if the response is of unknown size. -CG
Wed Dec 5 19:22:26 CET 2012
Fixing parameter loss of POST parameters with IE8 and Chrome
in the PostProcessor as the code failed to properly handle
partial data. -MM
Fri Nov 9 21:36:46 CET 2012
Releasing libmicrohttpd 0.9.23. -CG
Thu Nov 8 22:32:59 CET 2012
Ship our own version of tsearch and friends if not provided by platform,
so that MHD works nicely on Android. -JJ
Mon Oct 22 13:05:01 CEST 2012
Immediately do a second read if we get a full buffer from
TLS as there might be more data in the TLS buffers even if
there is no activity on the socket. -CG
Tue Oct 16 01:33:55 CEST 2012
Consistently use "#ifdef" and "#ifndef" WINDOWS, and not
sometimes "#if". -CG
Sat Sep 1 20:51:21 CEST 2012
Releasing libmicrohttpd 0.9.22. -CG
Sat Sep 1 20:38:35 CEST 2012
Adding configure option to allow selecting support for basic
and digest authentication separately (#2525). -CG
Thu Aug 30 21:12:56 CEST 2012
Fixing URI argument parsing when string contained keys without
equals sign (i.e. '&bar&') in the middle of the argument (#2531).
Also replacing 'strstr' with more efficient 'strchr' when
possible. -CG
Tue Aug 21 14:36:17 CEST 2012
Use "int" instead of "enum X" in 'va_arg' calls to be nice to
compilers that use 'short' (i.e. 8 or 16 bit) enums but pass
enums still as "int" in varargs. (See discussion on mailinglist). -CG/MV
Tue Aug 21 14:31:54 CEST 2012
Reduce default size in post processor buffer (for small systems;
performance impact on large systems should be minimal). -CG/MV
Thu Jul 19 21:48:42 CEST 2012
Releasing libmicrohttpd 0.9.21. -CG
Thu Jul 19 11:34:50 CEST 2012
Consistently use 'panic' function instead of ever directly
calling 'abort ()'. Eliminating unused mutex in SSL mode.
Removing check in testcases that fails depending on which
version of gnuTLS is involved. -CG
Tue Jul 17 23:50:43 CEST 2012
Stylistic code clean up. Allowing lookup up of trailing values
without keys using "MHD_lookup_connection_value" with a key of NULL
(thus achieving consistency with the existing iterator API). -CG
Tue Jul 17 22:37:05 CEST 2012
Adding experimental (!) code for MHD operation without listen socket. -CG
Tue Jul 17 22:15:57 CEST 2012
Making sendfile test pass again on non-W32 systems. -CG
Mon Jul 9 13:43:35 CEST 2012
Misc changes to allow testcases to pass on W32. -LRN
Sun Jul 8 15:05:31 CEST 2012
Misc changes to fix build on W32. -LRN
Fri Jun 22 11:31:25 CEST 2012
Make sure sockets opened by MHD are non-inheritable by default (#2414). -CG