Andrew Nelless
f3d1470e58
Brutally replace all reinterpret_casts with static_casts
2016-10-05 12:46:16 +01:00
Andrew Nelless
e6a3caaf75
#5628 Fix net lib linkage on Ubuntu
2016-10-04 15:51:07 +01:00
Andrew Nelless
176d7e4725
#5617 Don't copy plugins directory on Windows
2016-10-03 19:47:55 +01:00
Andrew Nelless
55a2d1231f
#5628 Initialize SSL on secure client sockets
2016-09-29 13:11:09 +01:00
Andrew Nelless
3b5940ac18
#5628 Restore copying of SSL libs on Windows
2016-09-29 13:11:09 +01:00
Andrew Nelless
5db78acab4
#5628 Link Synergy core against OpenSSL
2016-09-29 13:05:04 +01:00
Andrew Nelless
52c8763d97
#5617 Add SecureSocket to TCPSocketFactory
2016-09-29 13:05:04 +01:00
Andrew Nelless
77d6b83b0c
#5617 Remove stray PluginVersion includes
2016-09-29 13:05:04 +01:00
Andrew Nelless
dc93b063b7
#5617 Remove plugin infra from TCPSocketFactory
2016-09-29 13:05:03 +01:00
Andrew Nelless
665bd91dbd
#5628 Move SSL socket code from plugin to lib/net
2016-09-29 13:04:57 +01:00
Jerry (Xinyu Hou)
6d86a6033f
Removed dead code
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
07902d623c
Removed dead code
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
08a73218e6
Refactored secure read and write into SecureSocket
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
61b489ab3d
Refactor write and read into functions
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
95464d97cf
Conflicts:
...
src/lib/client/Client.cpp
src/lib/net/TCPSocketFactory.cpp
2016-09-26 11:58:33 +01:00
Andrew Nelless
c3c0913633
Update company copyright notice
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
945ccfdb75
Refactored plugin names #4866
2015-08-03 15:56:21 -07:00
Xinyu Hou
b105bc8f42
Unified secure socket name across platforms #4866
2015-08-03 15:56:03 -07:00
Jerry (Xinyu Hou)
14046db32a
Merge remote-tracking branch 'origin/master' into jerry-sandbox
2015-06-15 09:59:38 -07:00
Jerry (Xinyu Hou)
667b6f13c7
Enforced secure socket rewrite on the same buffer address #4712
2015-06-12 18:03:28 -07:00
Jerry (Xinyu Hou)
3e32d9fbee
Improved secure socket intensive try operations #4796
2015-06-12 16:53:41 -07:00
Adam Potolsky
6bb44fbc59
Merge pull request #4228 from galkinvv/fix2866
...
High client CPU usage and laggy mouse
2015-06-11 16:12:40 -07:00
Jerry (Xinyu Hou)
bbf53bb9b8
Return the same job on retry #4584
2015-06-05 15:21:26 -07:00
Adam Potolsky
35e09c46b9
Changed secureSocket routines to return a status, and modify an argument for num of bytes handled #4697
2015-05-22 16:09:59 -07:00
Adam Potolsky
5b3fa48902
Made socket self-aware of when it is in a fatal state #4697
...
Added code to cleanly terminate connection on fatal socket state #4697
2015-05-22 10:56:13 -07:00
Nigel Armstrong
d71304ee55
Modified header of every file COPYING to LICENSE
...
Modified to match the updated name of the license file
2015-05-06 22:12:44 -04:00
XinyuHou
586a893201
Made retry secure write/read use the exactly last parameters #4539
2015-04-17 14:01:35 +01:00
XinyuHou
f60e98c8cd
Fixed error from merge
2015-04-14 17:52:08 +01:00
XinyuHou
916a4c75af
Refactored no or wrong ssl certificate error handling #4410
...
Conflicts:
src/lib/net/TCPListenSocket.cpp
src/lib/plugin/ns/SecureListenSocket.cpp
src/lib/plugin/ns/SecureSocket.cpp
src/lib/plugin/ns/SecureSocket.h
2015-04-14 17:52:00 +01:00
XinyuHou
28eb85660f
Fixed error from merge
2015-04-14 17:51:41 +01:00
XinyuHou
b4665b9cd5
Passed args into client and socket
...
Conflicts:
src/lib/client/Client.cpp
src/lib/client/Client.h
src/lib/synergy/ClientApp.cpp
src/test/integtests/net/NetworkTests.cpp
2015-04-14 17:51:31 +01:00
XinyuHou
10e6b5ad63
removed client connection when SSL handshake failed #4313
2015-02-02 14:18:34 +00:00
XinyuHou
622e40e5d7
managed secure socket allocation and deallocation #4313
2015-01-28 13:07:03 +00:00
XinyuHou
10cddb97a8
fixed misused read and write #4313
2015-01-26 13:23:11 +00:00
Xinyu Hou
141b778477
refactored SecureSocket to use interface #4313
2015-01-14 17:25:53 +00:00
XinyuHou
be2b87fd39
fixed code style
2015-01-12 10:51:16 +00:00
XinyuHou
f973d1498d
dropped prefix C
2015-01-12 10:33:29 +00:00
Vasily Galkin
06df954366
fix removing jobs for closed sockets from m_socketJobs (patch by Brian Vincent from synergy issue tracker #2866 )
2014-11-14 18:29:28 +04:00
Xinyu Hou
1aaa55163c
Fixed "c" prefix compile error on Windows
2014-11-11 14:50:09 +00:00
Nick Bolton
41d6080028
changed company name in copyright notice
2014-11-11 13:52:03 +00:00
Nick Bolton
e8e156f0e2
dropped "c" prefix from class names
2014-11-11 13:51:47 +00:00
Nick Bolton
0745d5884b
Task #3969 - Merge String.cpp and StringUtil.cpp
2014-03-21 08:32:36 +00:00
Nick Bolton
d5b25069be
fixed: extending std::runtime_error instead, as std::exception ctor is undefined. also fixed some mac warnings from inheriting runtime_error.
2014-03-14 20:33:18 +00:00
Nick Bolton
abe108195d
Task #3953 - Inherit XArch and XBase from std::exception
2014-03-14 18:30:21 +00:00
Nick Bolton
4675f29a4c
code style fixes:
...
- reordered includes to prevent accidental dependencies.
- moved arch specific files into their own folder (easier to include with cmake).
- renamed non-class files to reflect new code style (lower case with underscores).
- using full relative paths for includes (easier for understanding dependencies).
- using #pragma once instead of classic-style header guards.
2014-02-28 12:36:45 +00:00
Nick Bolton
8e74710dad
code style: dropped C prefix
2014-02-27 17:45:17 +00:00
Nick Bolton
f11c660efb
used glob instead of manually specifying files. cmake does not recommend this, but we always re-run cmake anyway after adding files since we use vs.
2014-02-26 17:46:02 +00:00
Nick Bolton
c44971b43d
fixed: warnings on mac os x
2014-02-25 15:03:43 +00:00
Nick Bolton
c368013f13
Patch by Jerry for issue 46:
...
- Unit test for sending file data from server to client.
- Removed singleton pattern from CSocketMultiplexer for easier unit testing.
- Incremented protocol version from 1.4 to 1.5 (new file chunk message).
- Storing pointer to CConfig instead of copying in CServer (so we can mock it).
- Created a common event queue for testing (timeout, quit event, etc).
- Fixed code style.
2013-07-16 19:02:30 +00:00
Nick Bolton
608074c041
- made unit testing easier by (mostly) removing the event queue singleton.
...
- fixed code style in many places (mostly indentation).
2013-06-29 14:17:49 +00:00