radare
6ae8806411
Do not use the elvis operator for bool expressions ( #16073 )
2020-02-28 15:19:37 +01:00
yossizap
ebfbf1a039
Fix r_socket_connect not using the given timeout in unix ##network
...
Connect isn't effected by r_socket_block_time since it can only change the
timeout of read(and not implemented, write) actions with setsockopt.
Also, connect may wait for an unspecified amount of time so we have to use
select.
2019-11-18 01:38:08 +01:00
dok
34e4bd7291
Use sigaction instead of signal ##core
2019-11-06 12:41:36 +01:00
Paul I
016c1f73cb
Add R_INVALID_SOCKET macro ( #15094 )
2019-09-22 00:32:35 +02:00
pancake
2f9acaeead
Minor function signature fixes
2019-07-15 16:22:20 +02:00
pancake
3b2aceaaac
Add usec precission for RSocket.blocTime() and improve r2web:// a bit
2019-05-31 15:24:51 +02:00
pancake
073fcca0f3
Make -C http work like the tcp and rap remotes, expose the shell via == ##remote
2019-05-17 12:09:23 +02:00
pancake
10109fec62
Fix issues with the tcp server .: and =+tcp, use index instead of fd ##remote
2019-05-17 01:04:31 +02:00
radare
51cc15072a
Fix some UAF in rap server, handle HTTP over rap and tcp properly ##remote ( #14081 )
2019-05-16 14:18:16 +02:00
radare
e04f31a313
Completely kill the msvc/ directory and the unix-specific includes workarounds
2019-03-19 17:34:02 +01:00
pancake
c80dbc6e9a
Fix http webserver regression introduced in 81ad0fe809
2019-03-15 19:42:13 +01:00
Anton Kochkov
bb67b54f74
Remove CYGWIN & MINGW remnants ( #13377 )
2019-03-15 12:55:08 +08:00
GustavoLCR
81ad0fe809
Fix #13234 - Allow reopening of webserver ##sync
...
* Fix hang after ctrl-c
2019-03-06 04:43:32 +01:00
radare
32e494a696
Improve rap:// code, r2p_ is now r2pipe_ ##io ( #12699 )
2019-01-09 02:47:35 +01:00
iamahuman
51ab0994c6
Add missing net stub r_socket_accept_timeout
2018-12-15 18:32:24 +01:00
pancake
214baa4856
Fix null deref in RSocket.free when compiled with SSL
2018-11-28 11:53:27 +01:00
dav1901
a18fe42d96
Minor cleanups/fixes ( #12256 )
2018-11-22 15:14:59 +01:00
Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
radare
a00d09e5d0
Fixes for winedbg spawn ( #10486 )
2018-06-25 14:53:25 +02:00
Florian Märkl
2202d14067
Timeout socket accept using select ( #10415 )
2018-06-20 11:20:55 +02:00
Florian Märkl
c1cdc7a8b6
Add timeout for accept in HTTP Server ( #10375 )
2018-06-18 01:32:24 +02:00
pancake
0b1e8eaecc
Fix almost all warnings from the msvc build
2017-12-19 00:18:39 +01:00
pancake
0851129765
Implement r_cons_readchar_timeout. wink wink
2017-12-18 02:44:51 +01:00
xarkes
410ca09803
Added dynamic linking build for Appveyor ( #8948 )
...
* Revert "Enable GDB for Windows (#8877 )"
Because it does not work while linking dynamically on windows
This reverts commit 12b9d8c3b4 .
* Added dynamic linking build for Appveyor
* Try cleaning Windows linkage (meson)
2017-12-03 21:26:13 +01:00
Anton Kochkov
bd4ad8b0a4
Fix Windows build
2017-09-27 10:18:48 +08:00
pancake
97911069b3
Initial port of io.winedbg using the new r_socket_spawn() api
2017-09-27 03:12:00 +02:00
pancake
a48c3b7d1e
Disable jemalloc for old mac-ppc builds, so much crappy code
2017-08-28 20:49:33 +02:00
pancake
6c37a9aa10
Add serial support in RSocket for gdb:///dev/ttyUSB0:9600
2017-06-12 22:25:58 +02:00
SkUaTeR
beb80cfc16
Fixes for MSVC
2017-05-09 23:53:20 +02:00
xarkes
926f024909
Improved MSVC support (WIP)
2017-05-09 14:25:57 +02:00
0x0dada
7327642241
Fix incorrect modes various .c files. ( #7287 )
2017-04-16 10:10:04 +02:00
pancake
e9b7a07eb3
More fixes for emscripten
2017-01-19 23:34:52 +01:00
eroen
ecd8cf26c2
Disable deprecated initialization for openssl 1.1.0 ( #6423 )
...
Openssl 1.1.0 handles this initialization internally. Leaving the calls in
place causes "undefined reference" errors if openssl was built with
`--api=1.1.0`.
X-Gentoo-Bug: 604576
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604576
2017-01-03 23:45:07 +01:00
SkUaTeR
0468e268b4
Fixed rap in win64 ( #6361 )
2016-12-22 00:08:11 +01:00
Asutosh Palai
79a609630f
[rarun2] Added pseudo tty for listen and connect ( #6328 )
...
* [rarun2] added pseudo tty for listen and connect
* Fixed the socket connect error message
* [rarun2] moved pseudo tty under pty option
2016-12-15 15:06:06 +01:00
pancake
39f01ecf98
Add ptr, val, refptr .. in pdrj
2016-11-16 22:59:01 +01:00
pancake
18f0a3a1f3
Initial import of io.tcp + rsocket cleanup
2016-10-18 14:26:20 +02:00
pancake
64cd03dab5
Fix rap:// with no filename and reindent related stuff
2016-10-09 23:56:52 +02:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL to correct syntax
2016-09-19 14:44:47 +02:00
SkUaTeR
83266a0a4e
Add socket timeout on windows connect
2016-08-16 03:19:15 +02:00
Sven Steinbauer
547f8bbc5c
Infer fixes Round 2 ( #4993 )
2016-05-24 22:22:15 +02:00
pancake
bbb7b8412b
Implement experimental cmdback in rap server and client
2016-05-05 01:20:23 +02:00
Sergey Anufrienko
5f279870d0
fix r_socket_read, don't lose sent data on r_socket_close (mingw32) ( #4718 )
2016-04-26 18:57:01 +02:00
Ido Yariv
ac14493234
Set TCP_NODELAY on client TCP sockets
...
This can substantially improve performance on debugger client protocols.
2016-02-01 12:23:52 +01:00
pancake
289aece1f9
More code cleanup for gdm debugger plugin
2016-01-27 01:56:24 +01:00
François Revol
797a2efc81
C89
...
(duplicate ; is treated as an empty statement)
2015-12-07 21:48:44 +01:00
Anton Kochkov
5857a30b88
Fix sockets and pipes on Cygwin
2015-11-03 22:30:59 +03:00
pancake
bb6acf10de
Drop usleep in socket.write
2015-10-03 13:19:09 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
Riccardo Schirone
2e048b3272
socket/run: implement fork option
2015-09-13 10:46:09 +02:00