josch ebedf596db Replace cfile.c with connection.c
- cfile.h needed too many function calls and was too complex
 - connection.h does
     - only download in binary mode (json can handle that)
     - have no excess of getters and setters
     - allow to execute the whole request in a single function call
     - allow to be re-used for multiple requests
 - as a result, the code has 600 lines of code less
 - originally, connection.h was developed to use a global curl
   handle for all requests such that the same connection could be
   re-used. Unfortunately the MediaFire servers will close the
   connection after each request from their end:

      Bryan: "Unfortunately, we won't ever do keep-alive.  Closing the
      connection is a small part of a larger set of heuristics we have in
      place to prevent DOS/DDOS attacks."

   This causes massive performance impacts and those grow even larger when
   using SSL because the handshake has to be executed for every single
   request again.
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 08:36:38 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
2014-09-17 21:21:20 +02:00
Languages
C 98.2%
CMake 0.9%
Shell 0.7%
Python 0.2%