Skip to content

Commit a952962

Browse files
doing simple tests, isA final, ya rab
1 parent 1799d3e commit a952962

File tree

5 files changed

+123
-136
lines changed

5 files changed

+123
-136
lines changed

Client/.idea/workspace.xml

+62-74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Client/Files/c.jpg

-229 Bytes
Loading

Client/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static void* runThread(void *p){
5252
int port = 8000;
5353
char *serverAddress = "127.0.0.1";
5454

55-
vector<string> userCommands = {"POST sent.txt 127.0.0.1", "GET read.txt 127.0.0.1"};
55+
vector<string> userCommands = {"POST c.jpg 127.0.0.1", "GET smile.jpeg 127.0.0.1", "POST read.txt 127.0.0.1" };
5656
string dataDirectory = ".";
5757
HttpClient client(dataDirectory);
5858
client.connectionInit(serverAddress, port);
@@ -62,7 +62,7 @@ static void* runThread(void *p){
6262
}
6363

6464
int testMain(){
65-
int sz = 1;
65+
int sz = 140;
6666
pthread_t ts[sz];
6767
for(int i = 0 ; i < sz ; i++){
6868
pthread_create(&ts[i],NULL, runThread, NULL);

0 commit comments

Comments
 (0)