mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Merge pull request #321 from weiss/fix-http-request-record
Use 'request' record definition from header file
This commit is contained in:
commit
0b22277b11
@ -48,17 +48,12 @@
|
|||||||
|
|
||||||
-include("ejabberd.hrl").
|
-include("ejabberd.hrl").
|
||||||
-include("logger.hrl").
|
-include("logger.hrl").
|
||||||
|
-include("ejabberd_http.hrl").
|
||||||
|
|
||||||
-include("jlib.hrl").
|
-include("jlib.hrl").
|
||||||
|
|
||||||
-include_lib("kernel/include/file.hrl").
|
-include_lib("kernel/include/file.hrl").
|
||||||
|
|
||||||
%%-include("ejabberd_http.hrl").
|
|
||||||
%% TODO: When ejabberd-modules SVN gets the new ejabberd_http.hrl, delete this code:
|
|
||||||
-record(request,
|
|
||||||
{method, path, q = [], us, auth, lang = <<"">>,
|
|
||||||
data = <<"">>, ip, host, port, tp, headers}).
|
|
||||||
|
|
||||||
-record(state,
|
-record(state,
|
||||||
{host, docroot, accesslog, accesslogfd,
|
{host, docroot, accesslog, accesslogfd,
|
||||||
directory_indices, custom_headers, default_content_type,
|
directory_indices, custom_headers, default_content_type,
|
||||||
|
Loading…
Reference in New Issue
Block a user