Code Monkey home page Code Monkey logo

touchhttpd's Issues

CChunkWriter fails on unfortunate packet boundaries

There are several packet boundaries that cause CChunkWriter to misparse a stream, all near the part of the stream where the next chunk length is parsed.

I've hacked together some ugly fixes for this for my own immediate needs, but it's not elegant, it's not in the style of the containing code, and it uses a different delegate. I also put together an exhaustive test, using a modified interface, to test all the cases.

This project hasn't seen any activity in a long time. Do you care about it any more? Is it worth me putting in the (non-trivial) effort to clean up the code, backport it to work with the existing delegate, adapt the tests, modernize the Xcode project to work with tests, etc.? Alternatively, I could simply publish a standalone chunk writer, or you could pull in the changes, or...?

iPhone WebDAV server sample crash on connect

After building the iPhone WebDAV server sample, I found the sample server crashes immediately upon client connect.

It turns out that it's crashing with a bad memory access in CXMLNode.m::-(void) dealloc upon a xmlFreeNode() call.

if (_freeNodeOnRelease)
    {
    xmlFreeNode(_node);
    }

Commenting out the xmlFreeNode() call allows clients to connect and interact with the server successfully. However, I don't know if this causing memory leaks or not.

I'm not sure whether to open this issue against TouchHTTPD or TouchXML. I figured to do it here since it's probably something in the sample code that's causing the crash.

Can't compile on xcode 4.3

clang: error: no such file or directory: '/Users/hugolarcherreis/Desktop/TouchCode-TouchHTTPD-a4b112e/Projects/iPhone WebDAV Server/../../Externals/TouchFoundation/Source/Base64Transcoder.c'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

Unable to compile projects

I have attempted to clone the TouchHTTPD project from github, making sure to clone both the TouchXML and TouchFoundation projects to the same root directory as is specified in the directions. However, when I do, there are a number of compilation issues when trying to run the test projects. The references to TouchXML and TouchFoundation are showing missing. However, when I remove those references and then add them back in, there are still quite a few compilation problems.

Help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.