Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Increase buffer and packet sizes | Nathan Straz | 2013-09-16 | 1 | -1/+1 |
| | | | | | | | | | This coordinates the buffer sizes with the max packet size. qarshd and qarsh will probably break if this value does not match between client and server builds. Also increase the value to reduce overhead. A max packet size of 16k only yields 40MB/s. Increase that to 128k and we can do 500MB/s. | ||||
* | Remove unused define | Nathan Straz | 2013-09-11 | 1 | -1/+0 |
| | |||||
* | More memory allocation cleanup in qacp | Nathan Straz | 2013-09-11 | 1 | -65/+62 |
| | | | | | | Net removal of 12 strdup calls rstat is properly freed Don't need to strdup for basename, the original is not modified | ||||
* | Clean up memory leaks on send | Nathan Straz | 2013-09-11 | 1 | -9/+5 |
| | |||||
* | Remove complicated remote file descriptor code | Nathan Straz | 2013-09-11 | 1 | -2/+2 |
| | | | | | | | | Only handle one file transfer at a time so we don't need an array to track multiple transfers or know the remote's fd number. Loop in recv_packet until we read a whole packet. | ||||
* | Get qacp remote to local working | Nathan Straz | 2013-09-11 | 1 | -29/+19 |
| | |||||
* | Get qacp local to remote working on main socket | Nathan Straz | 2013-09-11 | 1 | -47/+41 |
| | | | | | | | | | | I removed the buffering layer from recv_packet because it made the logic too complex around the pselect in qarshd. Now only read as much as needed to get each packet. qarshd adds an array for remote file descriptors which is only a stub for now. This needs to be expanded to allow multiple file transfers at the same time for runcmd. | ||||
* | Move packet sequence numbering to send_packet | Nathan Straz | 2013-09-11 | 1 | -4/+0 |
| | |||||
* | Move to a new port for the new protocol | Nathan Straz | 2013-09-11 | 1 | -1/+1 |
| | | | | I don't see any way to coexist with the old "protocol" | ||||
* | Fill in sequence numbers with a real sequence | Nathan Straz | 2012-12-18 | 1 | -3/+5 |
| | |||||
* | First crack at ipv6/ipv4 agnostic qarsh/qacp. | Dean Jansa | 2010-09-28 | 1 | -4/+5 |
| | |||||
* | [qacp] Fix improper free when connect fails | Nathan Straz | 2009-02-05 | 1 | -5/+5 |
| | | | | | Freeing from the middle of an allocated string is not right. Keep a pointer to the strdup so we can free it correctly. | ||||
* | [qacp] Check that we have two or more paths | Nathan Straz | 2008-12-01 | 1 | -1/+1 |
| | |||||
* | [qacp] Fix double-free when copying file to file | Nathan Straz | 2008-10-14 | 1 | -1/+1 |
| | | | | | A previous commit added tmprstatp, which wasn't being checked just after it was assigned. | ||||
* | Fix the memory leak fix. The first attempt broke multiple file copy support. ↵ | Dean Jansa | 2008-10-10 | 1 | -4/+7 |
| | | | | | | sendfiles should be re-written and broken into single file and multi-file cases to make this cleaner. Signed-off-by: Dean Jansa <djansa@redhat.com> | ||||
* | Fix Copyright lines. vi sure doesn't like that copyright symbol in my term | Dean Jansa | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | Plug some memory leaks | Dean Jansa | 2008-09-23 | 1 | -7/+29 |
| | |||||
* | Fix fallback buffer sizes. What was I thinking? | Nate Straz | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | Update copyright dates. | Nate Straz | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | Cast off_t variables to long long int when printing so we don't get the | Nate Straz | 2008-09-23 | 1 | -5/+5 |
| | | | | | | | | ugly warnings. We should always be compiling with 64-bit off_t's so this should not be a problem. Change nread and nwrote back to ssize_t's since that is what read and write return. nleft remains an off_t because we initialize to stat.st_size. | ||||
* | sendfile() can only send about 2GB, but you can keep calling it until | Nate Straz | 2008-09-23 | 1 | -2/+4 |
| | | | | everything is sent. | ||||
* | Use off_t instead of size_t so we can transfer files larger than 2GB. | Nate Straz | 2008-09-23 | 1 | -1/+1 |
| | | | | | | I changed all formats from %zd to %lld, but this adds a lot of warnings because off_t isn't the same as long long int to the compiler. I don't know if there is a way to avoid the warnings on all platforms. | ||||
* | Add fallback to read/write when sendfile doesn't work. | Nate Straz | 2008-09-23 | 1 | -0/+31 |
| | |||||
* | Add copyright notices and GPL header | Nate Straz | 2008-09-23 | 1 | -0/+17 |
| | |||||
* | Clean up printing of file xfers. | Dean Jansa | 2008-09-23 | 1 | -13/+13 |
| | |||||
* | Merge qarsh revisions 1727:1738 from sistina-test branch djansa-qarsh. | Nate Straz | 2008-09-23 | 1 | -60/+271 |
| | |||||
* | Flatten the qarsh tree. | Nate Straz | 2008-09-23 | 1 | -0/+382 |