On Fri, 24 Jan 2014 12:46:42 GMT, Sükriye Ludwig wrote:
-------------------- Got request header. persist: true handle request (body 0) route match: / -> GET / opened file ./ui/index.html with 867 bytes as 34 --------------------- HTTP server response: --------------------- HTTP/1.1 200 OK Content-Encoding: gzip
Content-Encoding: gzip
should not be there by default for vibe.d master. Are you sure you get the right vibe.d version?Anyways, I could not reproduce this issue. I've tested with a 867 bytes long index.html and it downloaded without any issues. I'm on Mac OS 10.9.1, DMD 2.064.2.
Thanks for trying it out. I made a mistake though.. Was not actually running on master. With master, I get the following compile errors:
/usr/include/dmd/phobos/std/traits.d(2573): Error: template instance isStaticArray!(__T23RepresentationTypeTupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5Array7PayloadZ) does not match template declaration isStaticArray(T)
/usr/include/dmd/phobos/std/traits.d(2583): Error: template instance isPointer!(__T23RepresentationTypeTupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5Array7PayloadZ) does not match template declaration isPointer(T)
/usr/include/dmd/phobos/std/traits.d(2583): Error: template instance isDynamicArray!(__T23RepresentationTypeTupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5Array7PayloadZ) does not match template declaration isDynamicArray(T)
/usr/include/dmd/phobos/std/traits.d(2584): Error: template instance isAssociativeArray!(__T23RepresentationTypeTupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5Array7PayloadZ) does not match template declaration isAssociativeArray(T)
/usr/include/dmd/phobos/std/traits.d(2586): Error: template instance std.traits.hasIndirections!(Payload).Impl!(__T23RepresentationTypeTupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5Array7PayloadZ) error instantiating
/usr/include/dmd/phobos/std/traits.d(2590): instantiated from here: Impl!(Payload, __T23RepresentationTypeTupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5Array7PayloadZ)
/usr/include/dmd/phobos/std/typecons.d(3602): instantiated from here: hasIndirections!(Payload)
/usr/include/dmd/phobos/std/container.d(2645): instantiated from here: RefCounted!(Payload, cast(RefCountedAutoInitialize)0)
/home/oivind/.dub/packages/vibe-d-master/source/vibe/core/drivers/libevent2.d(75): instantiated from here: Array!(TimeoutEntry)
/usr/include/dmd/phobos/std/traits.d(2590): Error: template instance std.traits.hasIndirections!(Payload).Impl!(Payload, __T23RepresentationTypeTupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5Array7PayloadZ) error instantiating
/usr/include/dmd/phobos/std/typecons.d(3602): instantiated from here: hasIndirections!(Payload)
/usr/include/dmd/phobos/std/container.d(2645): instantiated from here: RefCounted!(Payload, cast(RefCountedAutoInitialize)0)
/home/oivind/.dub/packages/vibe-d-master/source/vibe/core/drivers/libevent2.d(75): instantiated from here: Array!(TimeoutEntry)
/usr/include/dmd/phobos/std/typecons.d(3602): Error: template instance std.traits.hasIndirections!(Payload) error instantiating
/usr/include/dmd/phobos/std/container.d(2645): instantiated from here: RefCounted!(Payload, cast(RefCountedAutoInitialize)0)
/home/oivind/.dub/packages/vibe-d-master/source/vibe/core/drivers/libevent2.d(75): instantiated from here: Array!(TimeoutEntry)
/home/oivind/.dub/packages/vibe-d-master/source/vibe/core/drivers/libevent2.d(75): Error: template instance std.container.Array!(TimeoutEntry) error instantiating
/home/oivind/.dub/packages/vibe-d-master/source/vibe/core/drivers/libevent2.d(76): Error: BinaryHeap!(_error_, "a.timeout > b.timeout") had previous errors
I am running what is supposed to be DMD. 2.064.2 on Ubuntu 13.10. 'dmd -help' gives this:
DMD64 D Compiler v2.064-devel-a9eedd1