Commit graph

39 commits

Author SHA1 Message Date
Austin English
280bfb58b5 httpapi: Return ERROR_SUCCESS for unimplemented flags in HttpInitialize.
Returning ERROR_CALL_NOT_IMPLEMENTED breaks .Net installers. MSDN suggests
that ERROR_INVALID_PARAMETER may be more appropriate, but that too breaks .Net.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Zebediah Figura
c1a62e0167 httpapi: Implement HttpReceiveRequestEntityBody().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48017
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-04 22:43:01 +01:00
Louis Lenders
ab77c7bb06 httpapi: Add stub for HttpReceiveRequestEntityBody.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48017
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-01 10:32:17 +01:00
Sven Baars
5df86351f0 httpapi/tests: Use CancelIo to avoid a test failure on Windows XP.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 17:43:47 +02:00
Sven Baars
fea609c0d0 httpapi/tests: Cancel a pending receive request (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 21:00:14 +02:00
Sven Baars
a1953e4e2c httpapi/tests: Initialize response_buffer to 0 (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 21:00:14 +02:00
Sven Baars
bbd1e80d81 httpapi: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 21:00:14 +02:00
Alistair Leslie-Hughes
5c17a0b07c httpapi/tests: Assign to correct type (Coverity).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:07:38 +02:00
Zebediah Figura
44a136cf9d httpapi: Prefer the builtin version.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 21:24:26 +02:00
Zebediah Figura
12f1c2de1c httpapi/tests: Add some tests for version 2 request queues.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 21:24:26 +02:00
Zebediah Figura
b19f4488f6 httpapi: Implement HttpCreateRequestQueue() and HttpCloseRequestQueue().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47476
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46549
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 21:24:26 +02:00
Zebediah Figura
f18e026e51 httpapi: Implement HttpAddUrlToUrlGroup() and HttpRemoveUrlFromUrlGroup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 21:24:26 +02:00
Zebediah Figura
f0458b2148 httpapi: Partially implement HttpSetUrlGroupProperty().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 21:24:26 +02:00
Zebediah Figura
e3a7c603e1 httpapi: Implement HttpCreateUrlGroup() and HttpCloseUrlGroup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
76eb42a760 httpapi: Implement HttpCreateServerSession() and HttpCloseServerSession().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
efacf6f455 httpapi: Start the http service in HttpInitialize().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38245
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
d73fc3e82a httpapi: Implement HttpSendHttpResponse().
While it's a little architecturally weird to have this part uniquely
implemented in httpapi, it's far easier to handle building the response
string here than having to marshal everything into an ioctl buffer first.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
7ed2d58793 httpapi: Implement HttpReceiveHttpRequest().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 08:45:11 +02:00
Zebediah Figura
4f714df9d6 httpapi: Implement HttpRemoveUrl().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 10:56:37 +02:00
Zebediah Figura
6bde953714 httpapi: Implement HttpAddUrl().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 10:56:35 +02:00
Zebediah Figura
cf14c0bde2 httpapi: Implement HttpCreateHttpHandle().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 09:49:15 +02:00
Zebediah Figura
8a125eb000 httpapi/tests: Add tests for version 1 request queues.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 09:33:46 +02:00
Zebediah Figura
904c0dc050 httpapi: Stub HttpRemoveUrl().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:26:44 +02:00
Zebediah Figura
43a3185eab httpapi: Stub HttpSendHttpResponse().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:26:44 +02:00
Zebediah Figura
965cdad7c1 httpapi: Stub HttpReceiveHttpRequest().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:26:44 +02:00
Alexandre Julliard
6d569cc3ca httpapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 08:37:40 +02:00
Yussur-Mustafa Oraji
776e74549d httpapi: Add stub for HttpCloseServerSession.
Signed-off-by: Yussur-Mustafa Oraji <yussur.oraji@hotmail.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-13 19:45:24 +01:00
Nikolay Sivov
727a8fba26 httpapi/tests: Added some basic tests for session and group creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 21:01:24 +01:00
Louis Lenders
ef975efe64 httpapi: Add stub for HttpCreateServerSession.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-21 13:57:35 +01:00
Alexandre Julliard
5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard
f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Hans Leidekker
7e22fc0943 httpapi: Add a stub implementation of HttpAddUrl. 2012-09-26 11:02:53 +02:00
Louis Lenders
9916931d41 httpapi: Add stub for HttpCreateHttpHandle. 2011-07-01 20:20:25 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard
b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Andrey Turkin
2f2723893d httpapi: Add HttpDeleteServiceConfiguration, HttpQueryServiceConfiguration and HttpSetServiceConfiguration stubs. 2009-01-13 16:17:02 +01:00
Andrey Turkin
3104f77e40 httpapi: Add HttpInitialize and HttpTerminate stubs. 2009-01-13 16:15:49 +01:00
Austin English
8cf8e2c60a httpapi: Add stub dll. 2009-01-12 16:53:18 +01:00