summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-18Avoid trying to add data to an unknown package idHEADmasterJoel Klinghed
Can happen when you connect to an already running proxy, as the proxy might send you data updates for packages that you haven't received.
2023-07-18Support both mbedtls 2.x and 3.xJoel Klinghed
2023-07-18Make sure to not generate a too large serial for certificateJoel Klinghed
Could cause the set_serial call to fail.
2023-07-18Support mbedtls 3.xJoel Klinghed
2023-07-18Add missing includes for cstdintJoel Klinghed
Worked with older STL because the types leaked.
2018-12-12Make both GUI executables install: trueJoel Klinghed
2017-09-26Fix error in DAT package sent for empty packagesJoel Klinghed
Also made sure that if this happens again monitor.cc should at least not hang but assert and break instead
2017-08-12Initial meson build filesJoel Klinghed
2017-08-12Add -fvisibility=hiddenJoel Klinghed
2017-08-11Improve GTK UI for long dialog descriptionsJoel Klinghed
2017-08-11Minor improvements to the UI, mainly text improvementsJoel Klinghed
Added shortcut for Setup... and changed Connect... and Disconnect... to match (so F5, F6 and F7 resp.). Let dialog descriptions end with "." but remove from field descriptions. Change the statusbar to better match that we probably are going to run as a proxy the most of the time.
2017-08-11Add missing wordwrap for QT form dialog messageJoel Klinghed
2017-08-11Move Proxy menu after EditJoel Klinghed
2017-08-11Correct descriptionJoel Klinghed
2017-08-11Fix indentationJoel Klinghed
2017-08-11Improve GTK GUI dialog layoutJoel Klinghed
2017-08-10Add duration to packages and tpp formatJoel Klinghed
2017-08-10Fix some issues and improvements found by cppcheckJoel Klinghed
2017-08-10Workaround warningJoel Klinghed
2017-08-10Resolver didn't work when it was created before fork() and used afterJoel Klinghed
The pipe that resolver sets up to communicate with the threads gets duplicated by the fork() leading to it all breaking down. So make it possible to create a Resolver without actually initializing it so we can do that *after* fork() (fork is called bu daemon())
2017-08-10tp in daemon mode with syslog used the wrong nameJoel Klinghed
Need to keep the string given to openlog() alive while syslog is used or it will use random other memory in that location
2017-08-10Fix crash when proxy is launched in daemon modeJoel Klinghed
2017-08-10Add "--tpp" option to tp-monitor to write TPP files instead of textJoel Klinghed
2017-08-10Writer all monitor-cmd output to the same streamJoel Klinghed
2017-08-10Make PackagesWriter streaming - you don't need to give count when creating itJoel Klinghed
2017-08-09Break out tpp load and save methodsJoel Klinghed
2017-08-09protocol program was never ment to be installedJoel Klinghed
2017-08-09Remember main window sizeJoel Klinghed
2017-08-09Handle possible SEGV at client_closeJoel Klinghed
2017-08-09Make sure to initialize fields in UIJoel Klinghed
2017-08-09Handle HEAD request in normal proxyJoel Klinghed
2017-08-09Handle HEAD requests over httpsJoel Klinghed
Responses to HEAD requests are always empty
2017-08-09Improve handling of non-utf8 or empty text http message bodyJoel Klinghed
If http message body is expected to be text and turns out to not be valid UTF-8 we fallback to using hex output. Two bugs in that code: 1) An empty message body was considered invalid UTF-8 as it didn't have any valid UTF-8 characters ... 2) When restarting the output all the content already written to text was appended, including headers.
2017-08-08Avoid warning in GCCJoel Klinghed
2017-08-08Handle 304 (and other responses without length) correctlyJoel Klinghed
2017-08-08Lower the amount of bytes shown for package/protocolJoel Klinghed
And add a text to package view when data is truncated
2017-08-08Handle pipelined http requests over SSLJoel Klinghed
2017-08-07Proxy: Make sure to check input buffer when done with requestJoel Klinghed
Pipelining a whole request before the current one is done would cause the proxy to not notice the second request until more data arrived
2017-08-07Fix Protocols::clear()Joel Klinghed
2017-08-07Make sure HttpProtocol doesn't print content twice in case of errorJoel Klinghed
If write() was called with last = true and then error was called you would end up with the data written twice
2017-08-07fixup! Protocol related fixesJoel Klinghed
Reset before writing request/response statusline
2017-08-07Protocol related fixesJoel Klinghed
full() clears text so protocols that doesn't implement append() doesn't end up with repeats. precaching works now because of correct want calculation. if a package is updated while being active in a worker the package is requeud when done instead of forgotten
2017-08-07fixup! Make sure QtLooper doesn't use QSocketNotifier before QApplication is ↵Joel Klinghed
created Allow sockets added after init to work
2017-08-06Remove bogus assert in protocolsJoel Klinghed
Checking data != null is not a good way to check if entry was added
2017-08-06Fix "Save as..." and other menu entries in GTKJoel Klinghed
unescape has a bug causing unescape(escape(id)) == id to fail
2017-08-06Add support for protocols in monitor-guiJoel Klinghed
2017-08-06Add protools, used for getting content out of packagesJoel Klinghed
Only HTTP protocol implemented yet, but with gzip, deflate and bzip2 suport
2017-08-06Make sure QtLooper doesn't use QSocketNotifier before QApplication is createdJoel Klinghed
2017-08-06Add utf moduleJoel Klinghed
Currently only has valid_utf8 and read_utf8
2017-08-01Remove outdated assertJoel Klinghed
If you clear the list of packages while the proxy is active you can end up having removed a package before it was finished - this is fine and should not trigger an assert