-
Notifications
You must be signed in to change notification settings - Fork 263
Comparing changes
Open a pull request
base repository: reo7sp/tgbot-cpp
base: v1.8
head repository: reo7sp/tgbot-cpp
compare: v1.9
- 14 commits
- 12 files changed
- 6 contributors
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 34558bc - Browse repository at this point
Copy the full SHA 34558bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a6b1fc - Browse repository at this point
Copy the full SHA 5a6b1fcView commit details
Commits on Jun 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for faafa5e - Browse repository at this point
Copy the full SHA faafa5eView commit details
Commits on Oct 7, 2024
-
fix: `makeRequest` didn't add `url.query` to `u` when it is sending a GET request
Configuration menu - View commit details
-
Copy full SHA for d2f1a78 - Browse repository at this point
Copy the full SHA d2f1a78View commit details -
Configuration menu - View commit details
-
Copy full SHA for da74ac4 - Browse repository at this point
Copy the full SHA da74ac4View commit details
Commits on Jan 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 0a89870 - Browse repository at this point
Copy the full SHA 0a89870View commit details -
Merge pull request #328 from miyanyan/boost-1.87.0
support boost-1.87.0
Configuration menu - View commit details
-
Copy full SHA for 0aba021 - Browse repository at this point
Copy the full SHA 0aba021View commit details -
I noticed that the onSuccessfulPayment method is not available in the…
… current version of the tgbot-cpp library. This makes it challenging to handle successful payment events directly using the library. Could you let me know if there are any plans to add this method in future updates? If yes, when can we expect it to be implemented? Thank you for your work on this library, and I look forward to your response! Best regards,
Configuration menu - View commit details
-
Copy full SHA for cbe762b - Browse repository at this point
Copy the full SHA cbe762bView commit details -
I removed the extra additions in CMaleList.txt and added #include "tg…
…bot/types/SuccessfulPayment.h"
Configuration menu - View commit details
-
Copy full SHA for 61a691e - Browse repository at this point
Copy the full SHA 61a691eView commit details
Commits on Jan 19, 2025
-
Merge pull request #330 from Gorillza/master
I noticed that the onSuccessfulPayment method is not available in the…
Configuration menu - View commit details
-
Copy full SHA for f88c332 - Browse repository at this point
Copy the full SHA f88c332View commit details
Commits on Jan 21, 2025
-
net: Allow curl handle in
CurlHttpClientto be kept aliveThe `CurlHttpClient` currently produces an excessive number of `connect()` syscalls, as every `makeRequest` creates a new TCP connection. This inefficiency becomes particularly evident with `TgLongPoll`, which continuously calls `getUpdates` in an endless loop, creating a relentless cycle of `connect()` and `close()` operations. A more sensible approach is to reuse HTTP connections by keeping them alive across multiple requests. I suggest modifying the implementation to allow the curl handle to persist until the `CurlHttpClient` object is destroyed. For thread safety, we can maintain a `std::unordered_map<std::thread::id, CURL*> curlHandles` within the `CurlHttpClient` class, ensuring each thread gets its own handle. After all, treating connections like disposable napkins doesn't exactly scream efficiency. Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Configuration menu - View commit details
-
Copy full SHA for 775291f - Browse repository at this point
Copy the full SHA 775291fView commit details
Commits on Jan 26, 2025
-
Merge pull request #331 from ammarfaizi2/curl-keep-alive
Allow curl handle in `CurlHttpClient` to be kept alive
Configuration menu - View commit details
-
Copy full SHA for 3bef4dc - Browse repository at this point
Copy the full SHA 3bef4dcView commit details
Commits on Feb 2, 2025
-
Added functionality to handle onSuccessfulPayment through Update with…
…out cyclic execution. Modified the method to include not only payment information but also the entire message, allowing access to id and other fields for better handling of successful payment events.
Configuration menu - View commit details
-
Copy full SHA for 342773b - Browse repository at this point
Copy the full SHA 342773bView commit details -
Merge pull request #335 from Gorillza/hotfix
Added functionality to handle onSuccessfulPayment through Update with…
Configuration menu - View commit details
-
Copy full SHA for 1b10d2f - Browse repository at this point
Copy the full SHA 1b10d2fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.8...v1.9