Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] http_dir isn't working under debian, jessie

Artem,

Yes, I have this working. Roger is correct that you'll need to upgrade to a later version of libwebsockets. A week or so ago I posted on this mailing list links to instructions on how I built libwebsockets and mosquitto from source:

https://github.com/bapowell/bapowell.github.io/wiki/Mosquitto-Build-Notes-(Linux)

https://github.com/bapowell/bapowell.github.io/wiki/Mosquitto-Build-Notes-(Windows---Visual-Studio)

Hope this helps.

Brad


Date: Thu, 18 Feb 2016 15:28:40 +0000 From: Roger Light <roger@xxxxxxxxxx> To: General development discussions for the mosquitto project <mosquitto-dev@xxxxxxxxxxx> Subject: Re: [mosquitto-dev] http_dir isn't working under debian jessie Message-ID: <CAH7zdyeOHuDE2Bcqxkf=P0ubfvE-=TosjyxLe_Yc2RpKZxQ4ag@xxxxxxxxxxxxxx> Content-Type: text/plain; charset=UTF-8 Hi Artem, I'm afraid you'll have to upgrade the version of libwebsockets if you want http_dir to work. It seems as though the version in Jessie doesn't have good support for this feature. Regards, Roger On Thu, Feb 18, 2016 at 2:56 PM, ????? ???????? <artem.pastukhov@xxxxxxxxx> wrote:

Hi all!
I'm trying to use http_dir directive with websockets

/etc/mosquitto/conf.d/websockets.conf:

listener 9001
protocol websockets
http_dir /var/lib/mosquitto/http

And my browser is telling me that "no data recieved"

Anyone get this working?

Mosquitto version i have is 1.4.8-0mosquitto1




Back to the top