Commit Graph

754 Commits

Author SHA1 Message Date
Eduardo Scartezini Correia Carvalho
680591632f Documentation Fix (#2703)
in the example there is an undeclared variable, this commit fix it.
2019-08-07 08:30:17 +02:00
Günter Obiltschnig
bd0235b4b0 include version resource in DLLs built with CMake 2019-06-24 15:42:23 +02:00
Günter Obiltschnig
d67d2dd76c use same timeout for poll and WSAPoll 2019-06-22 21:30:30 +02:00
Günter Obiltschnig
4717b20b4e style fixes 2019-06-22 19:09:15 +02:00
Günter Obiltschnig
349af10092 Merge branch 'develop' of github.com:pocoproject/poco into develop 2019-06-22 18:11:14 +02:00
Oliver Hahm
a32f40ae83 Omit ContentLength in WebSocket accept response
According to https://tools.ietf.org/html/rfc7230#section-3.3.2
(see https://stackoverflow.com/a/44553521/8647581 for details)
2019-06-11 15:01:42 +02:00
Günter Obiltschnig
2662fbfd4a merge 5e678b925b and 96a7263219 from poco-1.9.1 2019-06-04 18:51:30 +02:00
Günter Obiltschnig
eb3d20642f added missing #include <windows.h> 2019-05-16 14:53:10 +02:00
Günter Obiltschnig
1a78a72195 fixed warning 2019-05-16 14:40:58 +02:00
Günter Obiltschnig
d8826a9a90 SecureSMTPClientSession now uses _host from SMTPClientSession 2019-05-16 14:37:54 +02:00
Günter Obiltschnig
19d24c9f26 fix for Windows (add #define NOMINMAX) 2019-05-16 14:18:05 +02:00
Günter Obiltschnig
0c434ec02d WebSocket documentation fix 2019-05-16 10:03:46 +02:00
Günter Obiltschnig
74b8a093f5 WebSocket: allow setting the maximum payload size for receiving frames 2019-05-16 08:44:34 +02:00
Günter Obiltschnig
7a024ec720 updated vs projects 2019-05-15 17:09:33 +02:00
Günter Obiltschnig
f1aa15deff merged SSPI NTLM auth support from poco-1.9.1 2019-05-15 16:53:11 +02:00
Günter Obiltschnig
0444a61e53 merge changes from 1.9.1 branch 2019-04-05 13:22:15 +02:00
Günter Obiltschnig
c19ba41063 GH #2549: Fix keepAlive in http client session: left-over _pRequestStream could mess up new request 2019-01-16 11:39:05 +01:00
Günter Obiltschnig
ad0b7ec858 GH #2549: Fix keepAlive in http client session 2019-01-15 21:00:25 +01:00
Joerg-Christian Boehme
a753c65478 Use sockaddr_storage for proper stack aligment (#2523) (#2574) 2019-01-06 17:29:43 +01:00
Günter Obiltschnig
75df77b5df fixed GH #2570: DialogSocket: receiveStatusMessage() - line length limit applies to entire multi-line message 2018-12-19 21:46:14 +01:00
Günter Obiltschnig
7d6565dce0 #2565: HTMLForm: optional enforcement of Content-Length instead of Chunked Transfer-Encoding 2018-12-12 18:11:42 +01:00
Lyashenko Arsenii Maksimovich
223ce277bd Fix "redeclared without dllimport attribute..." warning for MinGW (#2433)
* Fix "redeclared without dllimport attribute..." warning for MinGW

* Use 'POCO_COMPILER_MSVC' instead of '_MSC_VER'.

* Define 'POCO_COMPILER_MINGW' with 'POCO_COMPILER_GCC' too

* Define 'POCO_UNUSED' for Clang too
2018-09-17 20:36:21 +02:00
Günter Obiltschnig
38e03dadd6 merge #2453 2018-09-04 21:45:38 +02:00
tomaz-beltram
0818365985 Fixed Windows http timeout #2451. (#2452) 2018-09-04 15:20:10 +02:00
Aleksandar Fabijanic
9778dacd1c LINKER error trying to use POCO NET #2168 2018-08-13 11:45:25 -05:00
FrancisANDRE
076517dc96 Fix new pocoproject.org IPv6 address 2018-08-09 17:01:02 +02:00
Francis ANDRE
0c1c2b31ca Replace pocoproject.org IPv4 "162.209.7.4" by "104.130.199.50" 2018-08-09 08:06:05 +02:00
fenghao119
9ec9e72626 support unix abstract domain socket address, fix #2042 (#2391)
* support unix abstract domain socket address, fix #2042

* fails on 64-bit osx
2018-07-16 07:23:31 -07:00
proller
af090c8b72 HTTPServerSession: Also set send timeout (#2388) 2018-07-11 07:15:53 -07:00
micheleselea
9887e78b5e FTPClientSession read welcome message with external socket (#2335)
* FTPClientSession read welcome message with external socket

Add method to configure if the FTPClientSession should read welcome message from FTP server when you use external socket. Otherwise you could end up in a desyncronization of FTP commands

* FTPSClientSession constructor FTPS behavior

Add variable in constructor to let you enable or disable FTPS connection

* Get FTPSClientSession back from master

* Support UTF8 filename

Using UTF8 filename cause image loading funtion fail without a transcoding function

* FTP Add function to get welcome message

Add a function to get at application level the FTP Server welcome message

* removed FTPPasswordProvider from FTPSStreamFactory

Removed duplicate FTPPasswordProvider  class from FTPSStreamFactory

* Code Style corrections

No hungarian style
no indent nested namespace
rename mutex
2018-07-10 06:58:16 -07:00
Lyashenko Arsenii Maksimovich
0379a1e768 MinGW support (#2360)
* Add MinGW support (not full yet).

TODO list:
* Fix tests compilation (undefined reference to CppUnit::...)
* Fix SQLs compilation (No rule to make target '${LIBNAME}.dll.a', needed by '${LIBNAME}.dll'.  Stop.)
* Fix crypto executables compilation
* Test static compilation
* Test MSVC compilation
* Add unicode support

See pocoproject/poco#2356

* Code rearrange.

Also fix PDF test runner.

TODO list:
* Fix tests compilation (undefined reference to CppUnit::...)
* Add unicode support
* Resolve what to do with message compiler

See pocoproject/poco#2356

* Normal "_DLL" definition for MinGW. Add missing "Crypto_API" for several implementations. Add "POCO_NO_MINGW_UNICODE" for "wmain".

TODO list:
* Check PostgreSQL and MySQL
* Resolve what to do with message compiler

See pocoproject/poco#2356

* Test PostgreSQL. Fix message compiler problem.

See pocoproject/poco#2356

* Perform requested changes. Add WinCE check.

See pocoproject/poco#2360

* Perform requested changes #2. Delete WinCE check.

See pocoproject/poco#2360

* Perform requested changes #3. Net initializer should works now.

See pocoproject/poco#2360

* Fix invalid indent.

See pocoproject/poco#2360

* Correct definition of POCO_NO_MINGW_UNICODE.

See pocoproject/poco#2360

* Remove macro and set global linke flags for testing purpose

* Add -municode for mingw where wmain is used

* Delete "POCO_ENABLE_EXE_WMAIN". Add PollSet support.

See pocoproject/poco#2360

* Restore WinCE linker flags. Set _WIN32_WINNT in PollSet.cpp separately. Add var to disable MinGW wmain wrapper.

* Fix compilation.

* Fix missing argument name in functions "setEscapeUnicode" in JSON package.
2018-06-19 08:17:03 -07:00
Aleksandar Fabijanic
7c906e25f2 minor message fix 2018-06-13 18:25:16 -05:00
Alex Fabijanic
d2840c551f add tcpserver example 2018-06-13 17:06:57 -05:00
Yegor Yefremov
6b9054dfa2 cmake: create and install pkg-config files (#2224)
* cmake: create and install pkg-config files

Automatically create and install *.pc files for selected components.

PocoFoundation.pc
PocoNet.pc
PocoUtil.pc
etc.
2018-06-12 20:42:19 +02:00
Joerg-Christian Boehme
8a70ab8a1c Cleanup cmake build system (develop) to use transitive dependency management from cmake (#2322)
* Cleanup cmake Root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* set proper scope

* Switch off make based builds in travis and appveyor

* Fix build break, set C11 on c file

* Set from C11 to C99

* Fix NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Revert "Fix windows build"

This reverts commit 678d44216bd964f61655df809efbf63ddd8a7bfd.

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _AFXDLL as target compile definitions

* Refactor add_definitions to target_compile_definitons in Util

* Refactor add_definitions to target_compile_definitons in XML

* Remove THREADSAFE in data sql cmake build

* Refactor add_definitions to target_compile_definition in cmake mysql

* Refactor add_definitions to target_compile_definition in cmake odbc

* Refactor add_definitions to target_compile_definition in cmake sqlite

* Refactor add_definitions to target_compile_definitions in platform specific cmake

* Add _DEBUG as compile definition

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Fix broken merge

* Fix android foundation test

* Fix old redis build version

* Fix android fondation test

* Cleanup target link libraries.

* Update cmake documentation

* Some fixese in crypto and netssl for win and some cleanup an SQL

* Minor fix in root CMakeList.txt

* Squashed commit of the following:

commit df050b56b6d81eaf9bdb37bb016fe9a3554eba4f

    Fix build dependecies in cmake

* Squashed commit of the following:

commit f41ce2bb404e197ff04b1e64f7b66c9a2b1e03c8

    Fix PostgreSQL build

* Squashed commit of the following:

commit b7da0deed67ffff23a8b7a50d6deff1e022b2577

    Set db hostnames

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build

* Fix broken cppunit merge
2018-06-03 11:19:00 -05:00
Alex Fabijanic
0084c75471 fix ICMP tests 2018-06-01 13:01:43 -05:00
Alex Fabijanic
45903ed071 SocketNotifier not thread-safe #2345 2018-05-30 19:51:53 -05:00
Francis ANDRE
3175502af1 Fix merge conflict 2018-05-30 20:31:12 +02:00
Francis ANDRE
051daf44a9 Fix merge conflict 2018-05-29 17:17:36 +02:00
Francis ANDRE
711b63033e Fix merge conflict 2018-05-29 10:51:10 +02:00
Francis ANDRE
f805fd94ce Fix merge conflict 2018-05-29 10:49:56 +02:00
roccocorsi
2b52f0c500 HTTPClientSession not binding IPv4 source address for proxy connect if IPv6 source address not set #2349 (#2350) 2018-05-28 20:11:48 -05:00
Alex Fabijanic
6b79725d46 resolve some socket inheritance warnings 2018-05-25 16:18:42 -05:00
Alex Fabijanic
d7667c943a UDPSocketReader cleanup 2018-05-25 16:18:09 -05:00
Alex Fabijanic
08b235cd61 some ICMP/MTU fixes 2018-05-25 16:14:21 -05:00
Alex Fabijanic
ee3c7339c9 NTPClient not checking reply address #2348 2018-05-25 16:14:00 -05:00
Alex Fabijanic
f6737e5e18 fix native receiveFrome() 2018-05-25 16:12:19 -05:00
Alex Fabijanic
1d3e1b2611 add PMTU discovery #2329 (linux) 2018-05-25 16:11:33 -05:00
Alex Fabijanic
096e8c0c67 add UNIX gather/scatter sendto/recvfrom implementations and tests 2018-05-25 16:04:13 -05:00
Alex Fabijanic
ab82b09a1f UDP atomic fixes 2018-05-25 16:03:37 -05:00