Nathan Osman
0a7b81d4ba
Ensure Socket::close() deletes the object once closed.
2017-08-08 17:01:05 -07:00
Nathan Osman
461d5100dc
Rename internal class QProxySocket and add slot for downstream disconnect.
2017-08-08 12:18:55 -07:00
Nathan Osman
96a714c909
Fix failing server test.
2017-08-08 12:13:43 -07:00
Nathan Osman
7e962c8ac4
Ensure socket is not prematurely destroyed when client disconnects ( fixes #15 ).
2017-08-08 12:01:39 -07:00
Nathan Osman
255200ab15
Minor fix-ups.
2017-08-08 10:38:28 -07:00
Nathan Osman
c769cee616
Remove build instructions from README in favor of linking to Doxygen documentation.
2017-08-05 11:39:24 -07:00
Nathan Osman
ad01f31cf2
Fix auth example.
2017-08-05 11:35:57 -07:00
Nathan Osman
c0c7d88366
Add server auth example.
2017-08-05 06:23:06 -07:00
Nathan Osman
25ea46861f
Attempt to fix race condition that was causing the macOS build to fail.
2017-07-29 19:06:53 -07:00
Nathan Osman
77fb7c4d71
Minor fixes to proxy class.
2017-07-29 19:00:07 -07:00
Nathan Osman
76a9bc171b
Ensure auth file is removed during destruction.
2017-07-22 19:06:24 -07:00
Nathan Osman
2c48893ec7
Fix target name when building on Windows.
2017-07-08 13:02:28 -07:00
Nathan Osman
da7eb850e4
Fix typos.
2017-07-08 13:00:42 -07:00
Nathan Osman
784e220276
Fix pkgconfig file.
2017-07-08 12:27:06 -07:00
Nathan Osman
2df0aa0709
Update documentation to reflect new class names.
2017-07-08 12:26:23 -07:00
Nathan Osman
5c57fda4a8
Rename export header.
2017-07-08 10:17:05 -07:00
Nathan Osman
bd7740bbc5
Update Doxyfile and documentation.
2017-07-08 10:09:49 -07:00
Nathan Osman
a77badb827
Fix failing test for QObjectHandler.
2017-07-07 22:35:25 -07:00
Nathan Osman
91ca9c82f7
Rename tests to conform with class names.
2017-07-07 22:29:08 -07:00
Nathan Osman
61d219721e
Move everything into the QHttpEngine namespace.
2017-07-07 21:56:09 -07:00
Nathan Osman
6fea4fbd61
Update build scripts.
2017-07-07 21:22:19 -07:00
Nathan Osman
4866f85380
Move include and src files.
2017-07-07 21:02:01 -07:00
Nathan Osman
396168a0dd
Update comment block and #include lines.
2017-07-07 20:57:57 -07:00
Nathan Osman
fd7e7e9603
Rename classes to match filenames.
2017-07-07 20:44:43 -07:00
Nathan Osman
2fdf8fac71
Rename source files.
2017-07-07 18:49:40 -07:00
Nathan Osman
e68c0b0f11
Rename most classes to remove the 'Q' prefix.
2017-07-07 18:29:50 -07:00
Nathan Osman
0197444a83
Remove all uppercase headers.
2017-07-07 16:53:03 -07:00
Nathan Osman
aa6650f6df
Escape arguments for copy_if_different.
2017-05-16 11:43:06 -07:00
Nathan Osman
82a5043649
Fix chat example ( fixes #16 ).
2017-04-04 17:34:23 -07:00
Nathan Osman
8e13f1644a
Fix compilation on earlier versions of MSVC++ ( fixes #17 ).
2017-04-03 11:16:55 -07:00
Nathan Osman
eca6097858
Removed extra newline.
2017-03-25 19:37:40 -07:00
Nathan Osman
88169f590e
Minor adjustment.
2017-03-25 17:48:35 -07:00
Nathan Osman
ac6249445b
Fix compilation on Qt 5.8 due to removal of QtPrivate::is_same.
2017-02-23 14:27:52 -08:00
Nathan Osman
d73fbe09aa
Fix path to Qt 5.8 binaries for Travis-CI.
2017-02-23 13:58:23 -08:00
Nathan Osman
018989c081
Bump qtbase package version for Travis-CI.
2017-02-23 13:57:03 -08:00
Nathan Osman
998416abae
Bump Qt version for Travis-CI.
2017-02-23 13:55:22 -08:00
Nathan Osman
a9d1891f9a
Fix QLocalFile file permission error on Windows ( fixes nitroshare/nitroshare-desktop#107 ).
2017-02-11 12:54:02 -08:00
Nathan Osman
1972d82809
Fix issue with upgraded WebSocket connections.
2016-12-13 22:21:03 -08:00
Nathan Osman
bead7a68e7
Fix incorrect HTTP version.
2016-12-13 21:31:01 -08:00
Nathan Osman
c48f20c264
Fixed logic error preventing 502 error.
2016-12-13 20:55:29 -08:00
Nathan Osman
3c662ab005
Move socket proxy code to separate class.
2016-12-13 19:44:42 -08:00
Nathan Osman
58c5dd786c
Add X-Forwarded-For and X-Real-IP headers to QProxyHandler.
2016-12-13 12:17:20 -08:00
Nathan Osman
bde806b289
Add peerAddress() method to QHttpSocket.
2016-12-13 12:14:48 -08:00
Nathan Osman
48967c398b
Add test for QProxyHandler.
2016-12-13 00:26:42 -08:00
Nathan Osman
ab5282c976
Add initial implementation of QProxyHandler.
2016-12-12 22:50:57 -08:00
Nathan Osman
4a2fc923f0
Merge pull request #14 from impegoraro/hotfix-socketclosed
...
Fixes issue #12 , closes socket when done
2016-11-29 13:21:33 -08:00
Ilan Pegoraro
927d6436d1
Fixes issue #12 , closes socket when done
...
Closing the socket after calling the invokeSlot and not in QHttpServer
after process, because the invocation can be deferred if more data
needs to be read from the socket, so closing the socket after calling
invokeSlot guarantees that the socket is close when the slot finishes.
2016-11-03 12:23:24 +00:00
Nathan Osman
651fb87314
Regenerate private key and cert because OS X was choking on them for some stupid reason.
2016-10-29 01:16:22 -07:00
Nathan Osman
0c22530acc
Add test for SSL.
2016-10-28 22:15:14 -07:00
Nathan Osman
8ca3666112
Add missing call to setSocketDescriptor().
2016-10-28 14:52:46 -07:00