Changeset 19839 for titan/titan/header.h


Ignore:
Timestamp:
Jan 28, 2013, 12:49:45 AM (7 years ago)
Author:
nit
Message:

[titan] add timeout to gethttp, add mutex to tithek download threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/header.h

    r19831 r19839  
    173173int sockcreate(int *fd, char* sockname, int maxconn);
    174174int sockaccept(int *fd, int flag);
    175 char* gethttpreal(char* host, char* page, int port, char* filename, char* auth, struct download* dnode, int redirect, char* header, long* clen, int flag);
     175char* gethttpreal(char* host, char* page, int port, char* filename, char* auth, struct download* dnode, int redirect, char* header, long* clen, int timeout, int flag);
    176176int sockreceive(int *fd, unsigned char* data, int count, int timeout);
    177177void gethttpstruct(struct stimerthread* timernode, struct download* node, int flag);
Note: See TracChangeset for help on using the changeset viewer.