Menu

how to build httest on windows using VC++?

Help
Anonymous
2011-08-14
2013-05-04
  • Anonymous

    Anonymous - 2011-08-14

    I want to build the project using micrsoft vc2003, but i don't konw how to do that.
    There are many 3rd libs and i don't know about the version etc.
    Could do help me about this? Or is there a windows vs/vc build package?
    Thanks in advance.
    Midy

     
  • christian liesch

    I have a VC project from a friend. I just copy my new files over the project, I dont realy know how to change or manipulate something in the VC project. I use solaris and linux for httest developement. This libraries you need along with the std c libraries.
    - apr library
    - apr-util library
    - pcre library
    - openssl library

    openssl 1.0.x is working as well as openssl 0.9.8x
    the other libraries just take the newest.

    best regards

     
  • Nobody/Anonymous

    Thanks for your reply, ia97lies.

    I have downloaded a package of exe files including libapriconv-1.dll *.dll and htproxy.exe httest.exe *.exe.
    So are these files builded on windows or cygwin? This may help me to convert it to windows vc environment.

     
  • Nobody/Anonymous

    and we can see from the changlog as follows:

    Changes with httest 1.4.1
      *) httest: Add check if include headers exist with APR_HAVE_XXX_ for windows build_

      *) httest: Bugfix cordump in _URLENC

    it seems to be supported with windows.

     
  • christian liesch

    Yes I told you above httest is build in VC enviroment. But it is from a friend who do the windows builds. Perhaps this could help you

    http://neophob.com/2009/06/httest-ms-visual-c-2008-express-project/

    He was the first one how did a httest build on windows. A cygwin build would be cool, but the threads implementation of cygwin is somehow broken…

     
  • christian liesch

    And yes I think the libs are build on windows. But I'm realy not sure. Have to ask the one how did it :)

     
  • christian liesch

    I got the VC Project and uploaded it to
    https://sourceforge.net/projects/htt/files/windows/

    Hope this helps you to build your own windows binary. Why not take the provided exe? Wanna help build windows binary?

     
  • Nobody/Anonymous

    Thanks  guy and I got it !

    Your project is great ,hence i wanna dive into for a while :)

    Could you give a email and make friends ?

     
  • christian liesch

    of course we can. ia97lies@users.sourceforge.net should do the trick :) or facebook if you like.

     
  • Anonymous

    Anonymous - 2011-09-06

    hi i have sent u mail~

    addtionally, could you give a hex digits post example *.htt?

      *) httest: Send/receive hex digits as binary data, usefull for binary
                 protocol testing.

     
  • christian liesch

    INCLUDE $TOP/test/config.htb

    CLIENT
    _REQ $YOUR_HOST $YOUR_PORT
    _BINARY:SEND "03 00 $LATE"
    _BINARY:SEND 41 41 "41 41 41"
    _SET LATE=11 22 33
    _FLUSH
    END

    SERVER $YOUR_PORT
    _RES
    _SOCKET
    _EXPECT . "03 00 11 22 33"
    _BINARY:RECV 5
    _EXPECT . "41 41 41 41 41"
    _BINARY:RECV 5
    _END SOCKET
    END

     
  • Anonymous

    Anonymous - 2011-09-07

    CLIENT _REQ $YOUR_HOST $YOUR_PORT _BINARY:SEND "03 00 $LATE" _BINARY:SEND 41 41 "41 41 41" _SET LATE=11 22 33 _FLUSH END

    The _BINARY command seems not to be exist in the userguide.pdf?

     
  • Nobody/Anonymous

    The user guide is not up to date for httest 2.1.x only for httest 2.0.x
    I will develop both in parallel. httest 2.0.x is proofed, httest 2.1.x is very new hand still have bugs…

     
  • Anonymous

    Anonymous - 2011-09-07

    i use the htproxy -p 4308 and set IE/FF to proxy port:4308 to start,but it often show the log as below:
    Command _REQ is depreciated

    is this the htproxy' bug?

     
  • Nobody/Anonymous

    the 2.1.x version? I suppose so. htproxy I personaly never use :) I did this for a fellow. I'm not very happy with this proxy.

    seems to me as warning. still working but should not be used anymore. In this case this is NOT true and therefor a bug. I will take a look.

     
  • Nobody/Anonymous

    A firefox plugin for that would be much cooler. but do not have any idea how :)

     
  • Anonymous

    Anonymous - 2011-09-07

    which ff plugin? i would like to have a try~

     
  • Nobody/Anonymous

    instead of this buggy htproxy, which is difficult to use, a firefox plugin, which is hopfully easy to use ;)

    And I did not get a mail from you. But do not like to paste my real email address here. Perhaps I do a temp email address for intial contact. Are you on xing, linked in or facebook?

     
  • Anonymous

    Anonymous - 2011-09-08

    great~
    could you send me a mail to leadofdev#foxmail.com, it seems that my firewall had blocked the mail to sf.net~

     

Log in to post a comment.