Commit Graph

26 Commits

Author SHA1 Message Date
Henrik Rydgard
cbf24a9d78 Get rid of "AutoInit", instead always keep the network initialized.
See #9305
2017-02-14 13:12:02 +01:00
latot
7047ad2271 fix sscanf types 2016-12-02 22:46:52 -03:00
Henrik Rydgård
705627d6d3 Merge pull request #9053 from Orphis/android_define
android: Change preprocessor define to standard __ANDROID__
2016-10-12 13:12:14 +02:00
Florent Castelli
e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Unknown W. Brackets
fd546ff21d Fix some type comparison warnings. 2016-08-05 10:47:45 -07:00
Unknown W. Brackets
3c47440d0c http: Set an explicit timeout on HTTP connect.
Before we were just relying on whatever timeout connect() wanted.
2016-07-04 09:46:19 -07:00
Unknown W. Brackets
287d1967a5 http: Properly stop server on stop server. 2016-07-04 07:24:04 -07:00
Unknown W. Brackets
bc614b6f85 http: Add actual serving of recent ISOs. 2016-07-03 22:13:48 -07:00
Unknown W. Brackets
0c0525ed87 http: Send listing back as text/plain.
Since it isn't text/html.
2016-07-03 22:13:46 -07:00
Unknown W. Brackets
ee29c6c50f http: Allow binding a random port, timeout.
The timeout is useful to allow for shutdown of the thread.
2016-07-03 22:13:45 -07:00
Unknown W. Brackets
347158ecc6 Include Content-Transfer-Encoding in uploads.
We should specify it's binary, otherwise proxies might munge the data.
2016-06-12 09:07:04 -07:00
Unknown W. Brackets
f084084ff7 Clean up accidental debug code. 2016-05-31 11:53:17 -07:00
Unknown W. Brackets
11c7c25b03 http: Add a fast-path for large chunked sends.
These will be common.  Skip a memcpy.
2016-05-26 18:16:43 -07:00
Unknown W. Brackets
06c3dca1da http: Allow > 2GB responses. 2016-05-26 18:16:42 -07:00
Unknown W. Brackets
2dd157733b http: Allow customizing the response headers. 2016-05-26 18:16:40 -07:00
Unknown W. Brackets
8fc610e2d1 http: Make it possible to override 404 handling. 2016-05-26 18:16:40 -07:00
Unknown W. Brackets
1cc49f3be4 http: Allow retrieving other headers.
Such as range request headers, accept headers, cookies, etc.
2016-05-26 18:16:39 -07:00
Unknown W. Brackets
41e7d3ecde http: Switch to using input/output sinks.
This should be more performant than reading one byte at a time in a loop.
2016-05-26 18:16:38 -07:00
Unknown W. Brackets
85506e98fe http: Parse headers with folding, not alloc. 2016-05-26 18:16:38 -07:00
Henrik Rydgard
774539dea8 Add more error checking in net resolve. 2016-04-09 18:27:35 +02:00
gmvbif
1794ca908f Fixed some warnings from Native project
- fastMode assigned twice in ChunkFIle constructor
 - added checking for fail while reading ini file (possible infinity loop)
 - zim_save assigned dithval twice (Please double check this)
 - in http_client added checking progress againt nullptr
2016-01-02 09:40:48 +03:00
Henrik Rydgård
7faf1cb3f3 Fix a couple of crashes 2015-10-06 19:07:28 +02:00
Henrik Rydgård
df47f41db6 Remove scoped_ptr (now unique_ptr), midi 2015-09-19 10:26:27 +02:00
Unknown W. Brackets
f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00