Dave Walker (Daviey)
daa6328418
Fix segfault in HTTP API rebind
...
Previously with HTTP API enabled on brenchmarking run, it is possible
to cause a segfault due to an issue handling the m_httpd pointer and
rebinding.
- Initialize m_httpd to nullptr to indicate when it's not in use.
- Safely delete m_httpd in Api's destructor to prevent use-after-free
issues.
- Add checks to ensure m_httpd is not nullptr before usage in start,
stop, and tick methods.
- Log errors for HTTP server start failures to aid in debugging.
Fixes MoneroOcean/xmrig#120
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2024-02-11 17:52:36 +00:00
XMRig
8084ff37a5
v6.21.0
2023-11-23 20:40:58 +07:00
XMRig
7cf3db7750
Merge branch 'dev'
2023-11-23 20:40:34 +07:00
XMRig
4bda6e054d
v6.21.0-dev
2023-11-23 19:51:41 +07:00
xmrig
64a0ed413b
Merge pull request #3358 from SChernykh/dev
...
Zephyr solo mining: handle multiple outputs
2023-11-15 22:36:35 +07:00
SChernykh
0b59b7eb43
Zephyr solo mining: handle multiple outputs
2023-11-15 16:18:05 +01:00
xmrig
ae6b10b5a4
Merge pull request #3356 from SChernykh/dev
...
Updated pricing record size for Zephyr solo mining
2023-11-15 08:27:02 +07:00
SChernykh
705a7eac0c
Updated pricing record size for Zephyr solo mining
2023-11-14 13:06:10 +01:00
xmrig
10bfffe033
Merge pull request #3348 from SChernykh/dev
...
Update to latest sse2neon.h
2023-10-31 11:52:38 +07:00
SChernykh
4131aa4754
Update sse2neon.h
2023-10-30 20:07:03 +01:00
xmrig
fee51b20fa
Merge pull request #3346 from SChernykh/dev
...
ARM64 JIT: don't use `x18` register
2023-10-20 07:36:12 +07:00
SChernykh
5e66efabcf
ARM64 JIT: don't use x18
register
...
From https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms
> The platforms reserve register x18. Don’t use this register.
This PR fixes invalid hashes when running on Apple silicon with the latest macOS SDK.
2023-10-19 17:45:15 +02:00
XMRig
08901a9a4b
Merge branch 'JacksonZ03-main' into dev
2023-10-09 15:15:32 +07:00
XMRig
a19f590ee6
Merge branch 'main' of https://github.com/JacksonZ03/xmrig into JacksonZ03-main
2023-10-09 15:14:50 +07:00
Jackson Zheng
2fa754825d
Update cn_main_loop.asm
...
Found this line to be missing. I looked through the history and seemed like the original author of the commit missed it out.
2023-10-08 23:29:52 +01:00
Jackson Zheng
f3446c0a94
Update cn_main_loop.asm
...
I was scanning the code and found this line to be missing. Not sure if this was a mistake or if it was intentionally left out?
2023-10-08 23:12:58 +01:00
xmrig
71209d4cd7
Merge pull request #3339 from SChernykh/dev
...
Added SNI option for TLS connections
2023-09-29 19:15:29 +07:00
SChernykh
0a3313cb76
Added SNI option for TLS connections
...
Disabled by default, add `"sni": true,` to pool config to enable it.
2023-09-29 08:33:49 +02:00
xmrig
e855723cd9
Merge pull request #3320 from SChernykh/dev
...
Add "built for OS/architecture/bits" to "ABOUT"
2023-08-21 19:00:14 +07:00
SChernykh
6e294bd046
Add "built for OS/architecture/bits" to "ABOUT"
...
To make it more clear what binary it is on some XMRig screenshot.
2023-08-21 13:49:21 +02:00
XMRig
dfe70d9ea7
Fixed huge pages availability info on Linux.
2023-08-08 17:48:44 +07:00
XMRig
2ecf10cdcb
Make Platform::hasKeepalive() constexpr where always supported and code cleanup.
2023-08-06 20:26:07 +07:00
xmrig
b55ca8e547
Merge pull request #3312 from SChernykh/dev
...
Disable TCP keepalive before closing socket
2023-08-06 20:14:37 +07:00
SChernykh
12577df7ba
Disable TCP keepalive before closing socket
2023-08-06 14:51:25 +02:00
xmrig
64f5bb467a
Merge pull request #3302 from SChernykh/dev
...
Enabled keepalive for Windows (>= Vista)
2023-07-17 17:17:39 +07:00
SChernykh
5717e72367
Enabled keepalive for Windows (>= Vista)
2023-07-17 09:49:10 +02:00
XMRig
e7de104d88
v6.20.1-dev
2023-07-03 18:47:55 +07:00
XMRig
3b5e04b1b7
Merge branch 'master' into dev
2023-07-03 18:47:22 +07:00
XMRig
2e77faa80c
v6.20.0
2023-07-03 12:42:00 +07:00
XMRig
6e63a246bf
Merge branch 'dev'
2023-07-03 12:41:35 +07:00
XMRig
09abc81255
v6.20.0-dev
2023-07-03 12:37:36 +07:00
xmrig
fc698f7bcf
Merge pull request #3291 from SChernykh/dev
...
Zephyr solo mining: fix for blocks with transactions
2023-06-24 20:22:53 +07:00
SChernykh
cb2f8fd453
Zephyr solo mining: fix for blocks with transactions
2023-06-24 15:15:37 +02:00
xmrig
59c6c42ceb
Merge pull request #3290 from SChernykh/dev
...
Zephyr coin support
2023-06-24 19:53:54 +07:00
SChernykh
6c10cc5a4b
Zephyr coin support
...
Solo mining will require `--coin Zephyr` in command line, or `"coin": "Zephyr",` in `pools` section of config.json
2023-06-24 14:37:20 +02:00
xmrig
d5a8f8a5ae
Merge pull request #3288 from SChernykh/dev
...
KawPow: fixed data race when building programs
2023-06-19 17:40:24 +07:00
SChernykh
d94d052e6c
KawPow: fixed data race when building programs
...
`uv_queue_work` can't be called from other threads, only `uv_async_send` is thread-safe.
2023-06-19 12:32:28 +02:00
XMRig
ae2b7e3348
Merge branch 'Spudz76-dev-addApiRebind' into dev
2023-06-07 20:49:34 +07:00
XMRig
7d7f30701f
Code cleanup.
2023-06-07 20:48:56 +07:00
XMRig
e80fc25789
Merge branch 'dev-addApiRebind' of https://github.com/Spudz76/xmrig into Spudz76-dev-addApiRebind
2023-06-07 20:12:58 +07:00
XMRig
ff53be5f3b
Merge branch 'benthetechguy-readme' into dev
2023-06-07 00:52:37 +07:00
XMRig
6981e68ae3
Merge branch 'readme' of https://github.com/benthetechguy/xmrig into benthetechguy-readme
2023-06-07 00:52:03 +07:00
XMRig
c7e541d84f
Disallow direct use of HwlocCpuInfo class.
2023-06-07 00:32:09 +07:00
XMRig
a2ae17b4c4
Code cleanup.
2023-06-06 23:15:58 +07:00
XMRig
554b60966b
Fixed compatibility with hwloc 1.11.
2023-06-06 02:30:10 +07:00
xmrig
0378aa8df4
Merge pull request #3236 from MrFoxPro/dev
...
fix(cuda): receive CUDA loader error on linux too.
2023-06-05 23:07:38 +07:00
XMRig
6dbd46a891
Added new CMake options ARM_V8 and ARM_V7.
2023-06-04 20:32:05 +07:00
XMRig
055db83142
Added new ARM CPU names.
2023-06-04 19:36:53 +07:00
XMRig
cdd5dff337
v6.19.4-dev
2023-06-03 21:14:26 +07:00
XMRig
bc5fe8f456
Merge branch 'master' into dev
2023-06-03 21:13:51 +07:00